Does anyone know how can I open a folder selection menu common dialog box?
Something similar to GetOpenFileName, but with a folder instead of file
Thank you.
Does anyone know how can I open a folder selection menu common dialog box?
Something similar to GetOpenFileName, but with a folder instead of file
Thank you.
"I don't suffer from insanity but enjoy every minute of it" - Edgar Allen Poe
http://www.Bloodware.net - Developing free software for the community.
CProgramming FAQ
Caution: this person may be a carrier of the misinformation virus.
Thank you, but just one last thing.
After used once, is there a way to make this dialog display the last selected folder?
Thanks again.
"I don't suffer from insanity but enjoy every minute of it" - Edgar Allen Poe
http://www.Bloodware.net - Developing free software for the community.
I've already seen this example, but it either not working or I'm simply missing something.
The only difference between this example and my code are the following two lines:I've tried to add the lParam value, but it gave me no effect.Code:bi.lpfn = BrowseCallbackProc; bi.lParam = (LPARAM) szCurrent;
As for the lpfn, I'm not sure I need it.
"I don't suffer from insanity but enjoy every minute of it" - Edgar Allen Poe
http://www.Bloodware.net - Developing free software for the community.
How else are you going to make the folder selection without the BrowseCallbackProc setting it with a BFFM_SETSELECTION message?
Originally Posted by msdn, BrowseCallbackProc
CProgramming FAQ
Caution: this person may be a carrier of the misinformation virus.
Not a very elegant solution...
Does anyone know the reason for this weird design??
"I don't suffer from insanity but enjoy every minute of it" - Edgar Allen Poe
http://www.Bloodware.net - Developing free software for the community.