How to choose all the files in CFileDialog
-
Hi Friends. I am Santhosh, I am doing a project. I have a path like "C\\program files\...". I will give that path in CFileDialog. All the Files in the CFileDialog should be selected. Then i will Unicode it.
Thanks and Regards. SANTHOSH V
-
Hi Friends. I am Santhosh, I am doing a project. I have a path like "C\\program files\...". I will give that path in CFileDialog. All the Files in the CFileDialog should be selected. Then i will Unicode it.
Thanks and Regards. SANTHOSH V
Take a look to FindFirstFile and similars to list the files. BTW there is more than one message in forum with this thema. And most with very good answers, maybe you save your time and the time of people that already answered these questions cheking it
Greetings. -------- M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you “The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson
-
Hi Friends. I am Santhosh, I am doing a project. I have a path like "C\\program files\...". I will give that path in CFileDialog. All the Files in the CFileDialog should be selected. Then i will Unicode it.
Thanks and Regards. SANTHOSH V
santhoshv84 wrote:
I will give that path in CFileDialog. All the Files in the CFileDialog should be selected.
You can get the folder path calling
CFileDialog::GetFolderPath
and then useCFileFind
class (see [^]) and finallysanthoshv84 wrote:
Then i will Unicode it.
??? :confused: ??? :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.