Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MFC Get Folders

Tags:

c++

directory

mfc

Hey how do I in MFC get names of all folders? Any examples or which classes should I look into? Any hints will be really appreciated. All I saw is the CFile, which as far as I have seen (though very very little) doesn't looks like it has the ability to do what I want. So please direct me.

Thanks

like image 712
akif Avatar asked Dec 08 '25 08:12

akif


1 Answers

Look into CFileFind

There is an old article in DDJ on how to implement a recursive search using CFileFind.

like image 113
Shay Erlichmen Avatar answered Dec 09 '25 20:12

Shay Erlichmen



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!