Click to See Complete Forum and Search --> : How to change icon in C++ programs


richard_tominez
March 24th, 2008, 09:14 AM
Hi guys! I'm a newbie in C++.
How to change icon in C++ programs?

Marc G
March 24th, 2008, 01:37 PM
You put the icon you want as the first icon in your resources. When windows tries to get the icon for an executable, it will always get the first icon in the resource.

gucy
April 2nd, 2008, 04:09 AM
CWinApp::InitialInstance()
{
//here
AfxGetApp()->LoadIcon(icon);
}