Click here to Skip to main content
Licence 
First Posted 3 Aug 2002
Views 74,833
Bookmarked 23 times

System Drives Explorer

By | 7 Aug 2002 | Article
System Drives Explorer

Sample Image - DriveExplorer.gif

What's New:



Introduction:

This project is look-alike 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. This Uses a TreeView in ther left pane and ListView in the right pane To Display All the Drives (including CD Drive) on the Computer System

Fearture:

This project has the following features

  • Displays All Drives on the Computer System
  • Allows Sorting of Columns (by clicking on the Column Header)
  • 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 (eg. 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

About the Author

Barretto VN



India India

Member

Nothing to boast about

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
GeneralMissing licence PinmemberFrederic Souchu22:56 25 Oct '10  
QuestionHow the right view refreshed Pinmemberkeroun15:13 17 Jul '06  
AnswerRe: How the right view refreshed PinmemberBarretto VN23:39 20 Jul '06  
GeneralRe: How the right view refreshed Pinmemberkeroun15:34 23 Jul '06  
QuestionI Need Help Pinmemberhelder22813:19 11 Mar '06  
AnswerRe: I Need Help PinmemberBarretto VN2:59 12 Mar '06  
Generalneed help PinsussAnonymous7:45 3 Mar '05  
GeneralRe: need help PinmemberBarretto VN1:46 5 Mar '05  
Questioncan anyone provide me a solution Pinmembersridevi_min@yahoo.co.in22:14 28 Feb '05  
AnswerRe: can anyone provide me a solution PinmemberBarretto VN1:49 5 Mar '05  
GeneralCombining With a multiselect tree PinmemberGargoyle_4512:32 27 Jan '03  
GeneralSelected item in tree view Highlight vanishes PinsussAdam Rouse22:41 12 Aug '02  
GeneralRe: Selected item in tree view Highlight vanishes PinmemberJerry Jeremiah21:59 19 Apr '06  
What if you use the TVS_SHOWSELALWAYS
This will keep the selection in the tree even when it doesn't have the keyboard focus.
This is what I would do if it were me:
 
BOOL CLeftView::PreCreateWindow(CREATESTRUCT& cs)
{
cs.style |= TVS_LINESATROOT|TVS_HASLINES|TVS_HASBUTTONS|TVS_SHOWSELALWAYS;
return CTreeView::PreCreateWindow(cs);
}

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

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

Permalink | Advertise | Privacy | Mobile
Web03 | 2.5.120529.1 | Last Updated 8 Aug 2002
Article Copyright 2002 by Barretto VN
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid