How to fill a TreeView with a directory tree
Uses a recursive procedure to fill a TreeView control with all directories
on a drive. Requires the Comctl32.ocx or Mscomctl.ocx Microsoft
Windows Common Controls control.
Uses the following API functions:
- FindClose
- FindFirstFile
- FindNextFile
Back to Code Samples
Copyright © 2000 by Matt E. Hart, All Rights Reserved Worldwide.
Nothing on this web site may be reproduced, in any form, without express written consent.