Working on a browse for folder TreeView that displays the Shell Namespace. I have managed to alter IconBuddy to return the correct icon for the folders. But... Most of the folders in the tree use the same icon and I don't want to add that many extra Icons to the image list. Looking for any Ideas on how to avoid this.
What I have to work with...
Shell FolderItem Object
Path to Folder
Icon Handle from SHGetFileInfo
Picture object returned from OleCreatePictureIndirect
I can't find any properties for the picture object so I'm not sure if their is anything I can access there. And I don't see any info that can help me on the shell FolderItem.
Any Ideas?
John