Thumbnail View  
Author Message
RichardMabbitt





PostPosted: Wed Jun 15 03:37:14 CDT 2005 Top

Exchange Servers >> Thumbnail View

I am using the GETFILE command to list the files in a folder so the user can
pick a file. All of the files are graphical images. How do I
programmatically tell the getfile control to display the files as thumbnail
images?

Is there a Windows API that I can use to set the properties of the folder so
that it always displays the files as thumbnails?

When you set this manually, Windows remembers the setting. Where is this
stored (i.e. is this a property of the folder, a registry entry, etc.)?

Thanks.

Charlie Parker

Exchange Server33  
 
 
Andrew





PostPosted: Wed Jun 15 03:37:14 CDT 2005 Top

Exchange Servers >> Thumbnail View

> When you set this manually, Windows remembers the setting. Where is this
> stored (i.e. is this a property of the folder, a registry entry, etc.)?

It's stored in the registry and as you use your computer more and more,
customising different folders, you will suddenly find Windows has reached
its limit and starts resetting the views on such folders. NNNGHGHNGGNHGNG!!

This is one of my most hated things in WinXP Explorer.

The default setting is for 400 folder customisations. You can tweak the
registry (easiest with TweakUI) to increase this number, I set it to 6000 or
so but you still hit the point when Windows starts "forgetting" the
customisations.

I believe the location is
HKCU\Software\Microsoft\Windows\Shell

There is a value there "Bag MRU Size" which contains the number of
customisations and then I think all the magic is in the keys "BagMRU" and
"Bags".

Good luck

--
Regards
Andrew Howell


 
 
CharlieParker





PostPosted: Wed Jun 15 11:29:24 CDT 2005 Top

Exchange Servers >> Thumbnail View Thanks, Andrew.

Is there a Windows API to get or set this info instead of trying to "hack"
the registry?

Charlie






> > When you set this manually, Windows remembers the setting. Where is this
> > stored (i.e. is this a property of the folder, a registry entry, etc.)?
>
> It's stored in the registry and as you use your computer more and more,
> customising different folders, you will suddenly find Windows has reached
> its limit and starts resetting the views on such folders. NNNGHGHNGGNHGNG!!
>
> This is one of my most hated things in WinXP Explorer.
>
> The default setting is for 400 folder customisations. You can tweak the
> registry (easiest with TweakUI) to increase this number, I set it to 6000 or
> so but you still hit the point when Windows starts "forgetting" the
> customisations.
>
> I believe the location is
> HKCU\Software\Microsoft\Windows\Shell
>
> There is a value there "Bag MRU Size" which contains the number of
> customisations and then I think all the magic is in the keys "BagMRU" and
> "Bags".
>
> Good luck
>
> --
> Regards
> Andrew Howell
>
>
>