Click here to Skip to main content
15,879,535 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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?
Posted
Updated 18-Mar-12 11:21am
v2

1 solution

Microsoft has some nice API for that:
http://msdn.microsoft.com/en-us/library/windows/desktop/bb762181(v=vs.85).aspx[^]

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

http://msdn.microsoft.com/en-us/library/windows/desktop/bb762188(v=vs.85).aspx[^]

That is the correct way to get these values.
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900