<- Go Home
CFolderDialog
I found this class on CodeGuru. It basically overrode the normal functionality of a CFileDialog so that folders may be selected. I modified it to allow either folders or files or both to be selected (depending on the file filter supplied to the constructor) and to allow OFN_ALLOWMULTISELECT to be used for multiple object selection. Disclaimer: The class is very sloppily written because I never got around to cleaning up the original author's code, and there are some quirky things with the way it operates (but it works).
Download it here: CFolderDialog.zip 4.22kB
Email me: lucky760@yahoo.com
Last modified: 06/03/05