Having hacked away at Shell32.dll 's version of SHBrowseForFolder I'm about
to throw in the towel...
The problem with the above is that
1 - I cannot control where the dialog is going to appear
2 - I cannot set a startup folder, so the thing always pops up with focus on
"My Computer" and everything collapsed.
Apart from that, it just doesn't look nice.
The MSDN Help tantalisingly mentions the above method under the heading of "Browse for a Folder the Non-COM Way", which seems to indicate that there also must be a "Browse for a Folder the COM Way"?
It even mentions it:
"In a later article, you can compare it to the COM way, with a guided tour of SHDOCVW.DLL and the powerful shell features it provides."
Guess what, the "later article" is nowhere to be found. I'm about ready to fly over to Seattle and strangle Bill myself.
I'm not interested in solutions creating a dialog myself with Drive/File and Dir listboxes. The "common dialog" is out there, I want to use it.