Hey i was wondering if anyone could tell me or give me a link on how to give my program an icon. i have the icon i want for it, but just dont no how to put it into the program. i tried google searching and nothing came up.
thanks!
Hey i was wondering if anyone could tell me or give me a link on how to give my program an icon. i have the icon i want for it, but just dont no how to put it into the program. i tried google searching and nothing came up.
thanks!
win32, just pathches a few addresses.
Then I suppose you are using the RegisterClass/RegisterClassEx function
The WNDCLASSEX structure contains handle of the Icon to use
Here is the sample code
http://msdn2.microsoft.com/en-us/lib...75(VS.85).aspx
All problems in computer science can be solved by another level of indirection,
except for the problem of too many layers of indirection.
– David J. Wheeler
thanks heaps.
For the icon that you see on your exe in explorer, you have to compile the icon as a resource in your exe.
gg
Alternaviely you could use an app like Resouce Hacker for it.