This question is relative to the ms windows api.

Found SHBrowseForFolder function in the oldwinapi module to build a dialog to 
select a folder. Needed that since GetOpenFileName only selects files. That 
works, but requires selection to always begin at the very topmost master root.

To specify the selection root in SHBrowseForFolder requires an ITEMIDLIST for 
that root. This seems to be some kind of generalized internal filesystem path.

How do I convert an ordinary file path string (e.g. C:\Moo\Gai\Folly) into such 
an ITEMIDLIST?

The function ParseDisplayName might do that, but I cannot find it in the 
oldwinapi module?

Or is there some old-style winapi for a gui to select a folder??

Thanks

Reply via email to