Changing the exe icon
-
Hi. I was wondering if someone could tell me how to change the icon of the exe for the program? Is there was a way I could just do a define to use the bitmap or icon I want so that I can change it anytime? Thanks in advance! Stan the man
-
Hi. I was wondering if someone could tell me how to change the icon of the exe for the program? Is there was a way I could just do a define to use the bitmap or icon I want so that I can change it anytime? Thanks in advance! Stan the man
Do you mean the icon shown in the Windows Explorer windows? If so, the system uses the icon resource with the lowest ID by default (e.g. 1). For the application while it's running, you can use the WM_SETICON message (CWnd::SetIcon() in MFC). Mark
Mark Salsbery Microsoft MVP - Visual C++ :java:
-
Hi. I was wondering if someone could tell me how to change the icon of the exe for the program? Is there was a way I could just do a define to use the bitmap or icon I want so that I can change it anytime? Thanks in advance! Stan the man
You can use of LoadIcon and then SetIcon?