Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 323
  • Last Modified:

Thumbnail view

is there any way to determine when thumbnail view is enabled in win98? Or, is there any way to initialize an IShellBrowser window or Explorer window to thumbnail view?
0
pietrzak
Asked:
pietrzak
1 Solution
 
pietrzakAuthor Commented:
Adjusted points to 150
0
 
naveenkohliCommented:
Hi Pietrzak,
I have not implemented this but i can give you some idea. There is no direct way of determining if Thumbnail view is enabled (some one can correct me on this), but there is way to get to this info.

From IShellBrowser interface, get IShellView interface pointer. From this IShellView interface use GetItemObject method to get interface pointer of IViewObject2 interface pointer of displayed object. Then make use of GetExtent method of IViewObject2 to get the aspect property. If it equals DVASPECT_THUMBNAIl, then you can say that Thumbnail view is enabled.

Hope it helps to some extent.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now