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?