I'm looking for the easiest solution to implement a folder browse dialog with checkboxes in front of the directories in my (C#) WinForms project.
I saw this kind of dialog in Vista in the backup center. It was just like a normal Folder browse dialog, but in front of every folder there was a checkbox. If you checked a folder, all folders and files in it were checked as well, while you could still deselect them separately afterwards.
If there's no prefab control or whatever for this, then what's the easiest way to either: - Manipulate a normal folder browse dialog to include the checkbox functionality; or - Manipulate a TreeView control to use Shell icons for paths (so the correct system icons for Desktop, My Music, normal folders, files, etc) so I can build one myself?
Note: I want the dialog/control to show both files and folders.
Thanks in advance for any tips and hints. =)