views:

59

answers:

1

I'm looking for a function to get a directory path from the user; I need to solicit a place to put things. I tried using GetOpenFileName() with .dir as a filter but no joy. I found something called GetDirectoryViaBrowse() that sounds like it might do what I want but it's part of some wizard making package and my Visual Studio knows nothing about it. I'd like some simple non .NET widget.

Is there such a thing?

+3  A: 

You are looking for the Win32 Shell API: SHBrowseForFolder

Brian R. Bondy
Thanks very much, just what I was looking for!
Mike D