Click to See Complete Forum and Search --> : icon for exe


pegase
April 12th, 1999, 09:14 AM
hello,

do you have a solution ?
I try to customize icon's exe to my project.
Now, i have 2 icon in \res directory :
IDR_MAINFRAME (res\mfc.ico) and IDI_MY_ICON res\my_icon.ico. And i would like to build my .exe
not with IDR_MAINFRAME but with IDI_MY_ICON.
However, the project builds by default with IDR_MAINFRAME !
So, How can i do ?

thinks as an advance

LALeonard
April 12th, 1999, 10:40 AM
In your RC file you will find the line:

IDR_MAINFRAME ICON DISCARDABLE "res\\mfc.ico"

Change that line to this:

IDR_MAINFRAME ICON DISCARDABLE "res\\my_icon.ico"


LA Leonard - Definitive Solutions, Inc.

pegase
April 13th, 1999, 04:14 AM
okey, all is right. Think you.

Is it possible to force my project to build with
IDI_MY_ICON, by default, and not with IDR_MAINFRAME ?

Please, do you know another url where we can
discuss about MFC, Visual C++ ... ?

pegase
:-)))))