MFC: select folder dialog box
I am really stuck and I can''t solve this problem (my head hurts).
Does anyone know how to make dialog box to select folder. I''ve tried overriding CFileDialog but that does not work. Hook functions don''t work to. I just need to know how to select folder using common dialog boxes
Unfortunately, MFC doesn''t have a built-in folder selection dialog. You''ll have to use some Windows Shell code, namely SHBrowseForFolder.
quote:Original post by Zipster
Unfortunately, MFC doesn''t have a built-in folder selection dialog. You''ll have to use some Windows Shell code, namely SHBrowseForFolder.
I''ve tried that but it doesn''t seem to work. I guess I should create my own class after all.
you could try this wraper for SHBrowseForFolder
http://www.codeproject.com/dialog/XBrowseForFolder.asp
http://www.funvill.com
http://www.codeproject.com/dialog/XBrowseForFolder.asp
http://www.funvill.com
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement