Главная страница | назад





Article #18813: SHBrowseForFolder callback function

 Question and Answer Database

FAQ3813C.txt   SHBrowseForFolder callback function
Category   :Windows API
Platform    :Win95/NT
Product    :   All32Bit

Question:
I'm using SHBrowseForFOlder and I am trying to get the 
browse window to start on a nominated subfolder.  Instead 
it only seems to work when it starts on a root folder.

The Win32 online help says it can be done with a subfolder.
How?

Answer:
Make the callback function for SHBrowseForFolder of type 
CALLBACK instead of int.

That should allow the callback routine to nominate 
a subfolder as the starting folder for the browse window.


12/30/99
 

Last Modified: 01-SEP-99