Click here to Skip to main content
15,903,523 members
Articles / Desktop Programming / MFC

System Drives Browsing Tree

Rate me:
Please Sign up or sign in to vote.
3.36/5 (11 votes)
3 Aug 2002 73.6K   1.1K   11   4
System Drives Browsing Tree

Sample Image - DriveBrowsingTree.gif

Introduction

This article use a CTreeView control to display all the system folders and files like the left pane of the Windows-Explorer, The Icons and File Types unfortunately have been hardcoded in the project, unlike the ones available on the Windows Explorer, the Icons are a Part of the Project and not picked up from the Windows Operating System.

Feature

This project has the following features:

  • Displays All Drives on the Computer System
  • At startup, moves to the folder that was last selected at time of closedown of the previous session (*)
  • Starts the appropriate program when you double-click on a file (e.g., Notepad for txt file) (*)

* Incorporated based on user suggestions on some other site

License

This article has no explicit license attached to it, but may contain usage terms in the article text or the download files themselves. If in doubt, please contact the author via the discussion board below.

A list of licenses authors might use can be found here.


Written By
India India
Nothing to boast about

Comments and Discussions

 
GeneralBug found Pin
J_T_Biggs8-Dec-02 12:50
J_T_Biggs8-Dec-02 12:50 
GeneralRe: Bug found Pin
Jason Troitsky (was Hattingh)13-Dec-02 4:19
Jason Troitsky (was Hattingh)13-Dec-02 4:19 
GeneralNope ! Pin
Kochise6-Jan-04 2:46
Kochise6-Jan-04 2:46 
GeneralKind and fair ;) Pin
Kochise12-Nov-02 23:12
Kochise12-Nov-02 23:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.