Click to See Complete Forum and Search --> : C++ Icon overlay
rahul123
February 18th, 2010, 05:51 AM
Hi,
I would like to set Icon overlay on the files/folders under a particular folder. But I am not sure how to do it. I have attached a sample JPEG Image with this thread.
Please check the image and let me know, is there a way to perform it via C++ and winapis with out MFC or it need MFC programming.
Also, if possible please provide me a sample code to do it.
Thanks in Advance.
Senith
February 18th, 2010, 09:29 AM
Well I have no idea on how you would do something like that but I may be able to tell you which program you need to get access to, to do that.
Also correct me if I'm wrong
From what I saw anything on the computer, Open windows with icons, icons on desktop and etc
are all from explorer.exe. and when I say explorer I mean explorer is what displays them from what I see. if you ended the explorer process, the only thing you could do is to open programs using task manager. If you tried to open anything else that requires explorer say my documents folder, explorer would then start back up.
The only other way you can see icons without explorer is if you used a open/save dialog from programs like mspaint or task manager.
The programs them selves if I'm not mistaken uses apis to create the dialogs and display icons that way also.
If you would like to try it out, I've done this on XP, 2k and vista open up taskmanager->processes->explorer.exe->end process.
Now your only left with taskmanage, you might feel the window 3.1 look now lol.
Now use task manage to open up programs. Also try to open up c:\ and and you will see what I mean.
again if I'm wrong please correct me. I'm only saying on what I have seen on my PC before.
Martin O
February 18th, 2010, 10:13 AM
Try googling these phrases:
'Win32 icon overlay'
'MFC icon overlay'
'how to icon overlay'
rahul123
February 18th, 2010, 10:20 AM
Hi,
I hope we can do it by follow the below link...
http://www.codeproject.com/KB/shell/overlayicon.aspx?fid=66912&select=3373252&tid=3373252
Going to try that.
thanks
abhiechopra
February 1st, 2012, 06:47 AM
Hi All,
Does anybody has any solution to the problem mentioned above?
I have the same requirement.
Can anyone provide some help urgent?
thanks
VictorN
February 1st, 2012, 08:09 AM
Doesn't the solution suggest in the Codeproject article (see the link given by rahul123) work for you?
abhiechopra
February 14th, 2012, 05:41 AM
No It doesn't work for me. I tried registering the DLL in 64 and 32 bit version of windows. But it doesn't work. Nothing happenst
VictorN
February 14th, 2012, 02:58 PM
No It doesn't work for me. I tried registering the DLL in 64 and 32 bit version of windows. But it doesn't work. Nothing happenstWhich step of the three does not work for you?
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.