changing a '.exe' icon
How can i change the icon for my game executable?
Thanks for any help
<a href="http://www.geocities.com/dark_mrman"><p align=center><img border=0 width=150 height=40 src="http://www.geocities.com/dark_mrman/Pictures/Cpp4.jpg" alt="http://www.geocities.com/dark_mrman"></p>
Change the value of the hIcon and hIconSm members of the wndclass used by your main window. Alternatively, send the window a WM_SETICON message like so:
// these icon setting calls won''t work on NT 3.51 but so what SendMessage(hwnd, WM_SETICON, TRUE , (LPARAM) LoadIcon(GetWindowInstance(hwnd), MAKEINTRESOURCE(IDI_LARGE)));
"I thought what I'd do was, I'd pretend I was one of those deaf-mutes." - the Laughing Man
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement