Can anyone tell me how to change my win32 programs icon (top left). I'm running MSV C++ Express 2010, so i don't have MFC. Theres a few tutorials on how to do this but using resource files? Which apparently MSV doesn't support. I want to be able to use my own one, so not one in shell.dll (although that would be a start).
I think i have to:
Add the ico file to a resource file / header file
Import the resource file / header file in my program
Change wndclass.hIcon = LoadIcon (NULL, IDI_APPLICATION);
But a bit confused on how to actually code this, do I have to add the actual ico file in the resource folder or can I add the file location in the header / resource file, how do I create a header / resource file, etc?
Edited 6 Years Ago by Alexkid: n/a