Change the defualt MFC icon to someone else

Hi Gurus , how are u?

I have an exe application with the default icon blue MFC.
I was insert my new icon for the exe file name but i do not how to connect the new icon to the exe file name.
My new icon is already inside the rc file.

For example if i make a new build for my application the blue MFC will get in my exe and i want the new icon will be there.

Please help to do it.

10x.:confused: :confused: :confused: ::
[462 byte] By [SimbadSubZero] at [2007-11-18 21:42:08]
# 1 Re: Change the defualt MFC icon to someone else
Just change the default icon in the resource editor, and make sure you also change the small (16x16) version - there's a combobox in the icon resource editor which lets you select the format.
gstercken at 2007-11-11 1:07:04 >
# 2 Re: Change the defualt MFC icon to someone else
The new icon has to have the ID IDR_MAINFRAME.

BTW, is it a dialog based or a SDI/MDI app ?
kirants at 2007-11-11 1:08:07 >
# 3 Re: Change the defualt MFC icon to someone else
The other possibility if you already have such a set of icons, you can simply import the new one into your project and remove the standard one...and either rename the new one to 'IDR_MAINFRAME' or change the code to load your 'IDR_WHATEVER' instead...
Andreas Masur at 2007-11-11 1:09:00 >
# 4 Re: Change the defualt MFC icon to someone else
Originally posted by gstercken
Just change the default icon in the resource editor, and make sure you also change the small (16x16) version - there's a combobox in the icon resource editor which lets you select the format.

Hi gstercken
10x for your info the change is working very well:wave: :wave: :thumb:
SimbadSubZero at 2007-11-11 1:10:05 >