MainFrame& icon 
Author Message
 MainFrame& icon

Ok, I think this is one of those most obvious and stupid questions in
the group, but still...

I have file  "incon.ico" (ir if you want "icon.bmp"). size 32x32 pixels.
I need to change default mainframe icon (left upper corner of main frame
;O) ).

Any "code" for this ?

Thanks,

MiXaS



Mon, 04 Mar 2002 03:00:00 GMT  
 MainFrame& icon
Edit both the 32x32 and 16x16 versions of the icon. If you assign this
icon as IDR_MAINFRAME it will be implicitly used for your app.
Otherwise, look into the SetIcon method. Note that if you SetIcon for
a window, you have to do two calls, one for the 32x32 and one for the
16x16.
                                joe



Quote:
>Ok, I think this is one of those most obvious and stupid questions in
>the group, but still...

>I have file  "incon.ico" (ir if you want "icon.bmp"). size 32x32 pixels.
>I need to change default mainframe icon (left upper corner of main frame
>;O) ).

>Any "code" for this ?

>Thanks,

>MiXaS

Joseph M. Newcomer

Web: www3.pgh.net/~newcomer
MVP Tips: www3.pgh.net/~newcomer/mvp_tips.htm
Author of "Win32 Programming" (with Brent Rector, Addison-Wesley, 1997)
Author of "Developing Windows NT Device Drivers" (with Ed Dekker, AWL, 1999)


Mon, 04 Mar 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Change icon in my mainframe (howto?)

2. MainFrame and EXE Icon

3. mainframe Icon

4. changing the mainframe and documents icons (Visual C++ 5.0)

5. Changing mainframe icon

6. How to change the Icon on the titlebar of Mainframe window

7. Changing MDI MainFrame icon

8. Separate icons for mainframe and MDI childframes????

9. My icon on mainframe instead of MFC default

10. C & IBM mainframes (Was: Re: Character Sets)

11. Static Function & MainFrame

12. Saving/restoring mainframe & view positions/sizes

 

 
Powered by phpBB® Forum Software