Re: Main Icon Problem..
- From: Joseph M. Newcomer <newcomer@xxxxxxxxxxxx>
- Date: Wed, 07 Feb 2007 11:33:51 -0500
Dialog-based apps are an example of this, and the AppWizard generates the code to load and
display the icons.
joe
On Wed, 7 Feb 2007 08:45:30 -0700, "Dan Baker" <dbmail> wrote:
"ovatta" <ovatta@xxxxxxxxx> wrote in messageJoseph M. Newcomer [MVP]
news:45c9e358$0$23983$4fafbaef@xxxxxxxxxxxxxxxxxxxxxx
In my .rc file I have: IDR_MAINFRAME ICON DISCARDABLE
"my.ico"
It have 2 type 32x32 256 colors and 16x16 256 colors
It's the only icon in the project..
After I compile the .exe file have this icon but if I run the program the
main windows present the default icon (white-blue) and not the my.
How I can set the icon?
I could change it in run time mode?
I've had problems with MFC Wizard projects that don't use Doc/View. It
seems like you have to set the icon your self in the mainframe. I'll try to
hunt some code down later.
DanB
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.
- Follow-Ups:
- Re: Main Icon Problem..
- From: Dan Baker
- Re: Main Icon Problem..
- References:
- Main Icon Problem..
- From: ovatta
- Re: Main Icon Problem..
- From: Dan Baker
- Main Icon Problem..
- Prev by Date: Re: Batch file and MFC (Properly Terminating Application)
- Next by Date: Re: Main Icon Problem..
- Previous by thread: Re: Main Icon Problem..
- Next by thread: Re: Main Icon Problem..
- Index(es):
Relevant Pages
|