I recently discovered some odd behavior when ShowThumbNailHint is used. I inserted this into the demo program to confirm the behavior.
If the Layout in the demo program displays small icons, the Dimensions reported in the hint appear to be the dimensions of the icon, not the image.
If the Layout in the demo program displays large icons, the Dimensions reported in the hint appear to be the actual image dimensions.
I would think that displaying dimensions for any multi-page file would not be useful?
Research in the help file says that the correct dimensions are not available unless the image is actually loaded into ImageEnView. I used IEFolderMViewGetHint to create my own hint without the dimensions confusing things. Instead I put the dimensions and other information into the StatusBar when the Preview is turned on and update that information for each page.
The .JPG and .TIF do display consistent dimensions when the icons are small or large, now. But the PDF file shows the 25x25 dimension even if the property column was larger, because it changes as soon as the mouse hovers over the PDF file.
Thanks. I actually hadn't thought of displaying a column of properties. I was just testing the demo to see if I liked the new features. Many times you inspire new features for me, but not this time.
In this case, I wonder if it is better to display the page count for a multi-page file like TIF or PDF, rather than dimensions?
BTW: I just noticed that non-image files also are displaying dimensions of the icon and doing weird things like PDF.