Skip to main content
GameDev.net gamedev.net
🔒 Locked

Folderpicker in MFC

Started by Kotumo Jan 2, 2002 at 3:47 AM 1 replies 500+ views
Original Post
Kotumo
Kotumo
Hi. I''m creating this little MFC-app and I need to be able to select a folder. I would have guessed that the CFileDialog would do that job, but no such luck. Do you guys have any tips on how to implement a folderpicker in MFC? Thanks. Kotumo
S1CA
S1CA
::SHBrowseForFolder()

Just because you''re using MFC it doesn''t mean you can''t call Win32 or Shell API functions, and doesn''t mean everything needs to be a C++ class .

--
Simon O''''Connor
Creative Asylum Ltd
www.creative-asylum.com
Simon O'Connor | Technical Director (Newcastle) Lockwood Publishing | LinkedIn | Personal site
Kotumo
Kotumo
Thanks. I''ve got it now.

I knew you can call API functions but I think I''m making this much harder than it really is.

Kotumo

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.