How can I set my program to use an Icon I want instead of the MFC standard Icon. I'm talking about the icon that is displayed with the generated .exe file. Thanks for any help.
I've tried that, but I can't get it to work right. I've got an Icon I want to use and I can load it up and save it. It will show up in the system bar at the top of my program, but the MFC default Icon still shows up to portray the .exe file. I'm doing something wrong. Thanks for your help.
If you delete the IDR_MAINFRAME icon (default icon) when you create a new project, import the icon you want and label it IDR_MAINFRAME it will become the icon for your .exe and top bar. Quick and easy.
Check your .rc file. Should have the following line:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.