Click here to Skip to main content
14,176,439 members
Rate this:
Please Sign up or sign in to vote.
See more:
I have an application (original platform XP) in which the user can list folders and files. Checkboxes permit the user to enable or disable the display of hidden and/or system folders.

I am using a recursive function with FindFirst/Next to get folder names to build a display in a TreeView. Custom ICONS are displayed to show if a folder is normal, hidden, system or a hidden system folder. The hidden and system folders are only added to the TreeView if their respective control is checked.

I believe I need to add the same control for virtualstore folders or block them. Is there an easy way to identify them other than by name?
Updated 18-Mar-12 11:21am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Microsoft has some nice API for that:[^]

but reading that they done some homeworks to make live some different:[^]

That is the correct way to get these values.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Cookies | Terms of Service
Web04 | 2.8.190525.1 | Last Updated 19 Mar 2012
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100