Click here to Skip to main content
15,867,308 members
Articles / Desktop Programming / MFC
Article

System Drives on Tab Pages

Rate me:
Please Sign up or sign in to vote.
3.58/5 (10 votes)
7 Aug 2002 70.4K   1.4K   20  
System drives on tab pages.

Sample Image - TabDrives.gif

Introduction

This article shows the technique of creating tab pages based on the system drives. 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 project creates list controls and a tree control depending on the number of system drives.

Features

This project has the following features:

  • Displays all drives on the computer system on separate tab pages.
  • Allows sorting of columns (by clicking on the column header) on the respective list control.
  • Creates toolbar buttons depending on the system drives at run-time.
  • Creates and adds a pop-up menu to the main menu depending on the system drives at run-time.
  • Adds drive specific images on individual tabs.

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

 
-- There are no messages in this forum --