How to open a folder using MFC
-
Hello all, Currently, I need to write a program which allows the users to select a specific folder on the hard drive. However, I only know how to use MFC to allow the users to select specific file on the drive by using "GetOpenFileName()". Is there any way which allows users to select a folder rather than a file in MFC? Thanks!!!! Nachi
-
Hello all, Currently, I need to write a program which allows the users to select a specific folder on the hard drive. However, I only know how to use MFC to allow the users to select specific file on the drive by using "GetOpenFileName()". Is there any way which allows users to select a folder rather than a file in MFC? Thanks!!!! Nachi
SHBrowseForFolder()
or you could use one of the many folder selection dialogs at CP. /ravi Let's put "civil" back in "civilization" Home | Articles | Freeware | Music ravib@ravib.com -
SHBrowseForFolder()
or you could use one of the many folder selection dialogs at CP. /ravi Let's put "civil" back in "civilization" Home | Articles | Freeware | Music ravib@ravib.com -
Sorry, I am not really know how to use this function, is there any example so that I can study on, thanks! Nachi
Yes, MSDN Library. Rickard Andersson Here is my card, contact me later! UIN: 50302279 Sonork: 37318 Interests: C++, ADO, SQL, Winsock, 0s and 1s
-
Sorry, I am not really know how to use this function, is there any example so that I can study on, thanks! Nachi
See this article[^] for an example. /ravi Let's put "civil" back in "civilization" Home | Articles | Freeware | Music ravib@ravib.com