Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Create a Tree view for system resource

Status
Not open for further replies.

Guest_imported

New member
Joined
Jan 1, 1970
Messages
0
Hi,all

I have a question on how to display the tree structure of the file system. e.g: to display the files on C drive in a tree structure. The application I created is dialog based. the class I use for the tree structure is CTreeCtrl. But what class or methods shall I use to extract the information of the file system on the hard drive or the virtual drive. Thanks a lot.

Regards,

Roger
 
:^) You can use CFileFind. See thread116-178338 for a brief example I wrote using CFileFind and respond with any questions you still have.

Hope this helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top