I am searching for the C++ solution to show icon overlay over the folder. but I have noticed that it’s really bad idea to code overlays in .NET\Java +Shell because interpreter is called all the time you are using explorer.
So I have example how to do add icon over files which contains some text: http://www.codeproject.com/KB/shell/overlayicon.aspx
And I need to mark with my icon all empty folders. How can i do that?
Will appreciate any help.
You need to create a COM object that implements IShellIconOverlayIdentifier like that codeproject article.
Your IsMemberOf method would look something like this:
(A empty folder contains two special entries, “.” and “..”)