Re: [GD-Windows] Choosing a folder with a dialog
Brought to you by:
vexxed72
From: Rich <leg...@xm...> - 2002-10-24 16:54:34
|
Thinking about this a little more, I'll start over and apologize if you felt my last response was too brutal. Everyone has their up and down moments and I should probably learn to post less in my down moments... Look at the MSDN docs for BROWSEINFO, specifically the pidlRoot member: "Pointer to an ITEMIDLIST structure (PIDL) specifying the location of the root folder from which to start browsing. Only the specified folder and any subfolders that are beneath it in the namespace hierarchy will appear in the dialog box. This member can be NULL; in that case, the namespace root (the desktop folder) is used." Look in the MSDN Shell docs if you don't know what it means by PIDL or ITEMIDLIST. If you want to browse for a folder and allow the user to navigate up above pidlRoot, then I think you need to make your own dialog for that. -- Ask me about my upcoming book on Direct3D from Addison-Wesley! Direct3D Book <http://www.xmission.com/~legalize/book/> izfree: Open source tools for Windows Installer <http://izfree.sourceforge.net> |