Using Icons From DLLs
Hi, I have just finished a simple console-based application for shutting down my computer at a given time. Now I want to have a fancy icon. =)
I have found an appropraite icon in 'C:\WINDOWS\system32\SHELL32.dll', however, I have no idea how to extract and use it. I am only bothered about it being compatible with WinXP since it is for personal use. Could somebody please aid my search?
ExtractIcon will return an HICON which you can use, either directly in your application or as a starting point to saving it as an *ico file (see icons for more details).
If you want to extract the icon as a resource (*.res) to build with your personal use application on your own winxp machine then perhaps Resource Hacker may be of some use to you.
You probably should have directed this question to the windows board.
I ended up using resource hacker since it was the easiest solution. Thankyou very much!