How to kill the MFC icon
-
I've got a standard MFC MDI app, and want to change the "MFC" icon to my own. In resource view, I've tried editing the icon (in VS) changing what file it points to, even deleting the "MFC" icon file - all make it look right in the resource view, but run the app and the "MFC" icon is still there. Is this called out explicitly in code somewhere? Thanks
-
I've got a standard MFC MDI app, and want to change the "MFC" icon to my own. In resource view, I've tried editing the icon (in VS) changing what file it points to, even deleting the "MFC" icon file - all make it look right in the resource view, but run the app and the "MFC" icon is still there. Is this called out explicitly in code somewhere? Thanks
have you changed all the devices in the icon ? a .ico file have several images of different sizes/resolutions, so if you don't change them all, you'll get strange behaviors .... ;)
TOXCCT >>> GEII power
[VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]
-
have you changed all the devices in the icon ? a .ico file have several images of different sizes/resolutions, so if you don't change them all, you'll get strange behaviors .... ;)
TOXCCT >>> GEII power
[VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]
-
I totally deleted the IDR_MAINFRAME resource and icon file on disk. I then made a new icon by importing a .bmp... clean and rebuild... still the "MFC" icon (I think it's giving me the finger). It must be defined somewhere else or cached or something?
i think Explorer caches icons. at least, i've had the same problem you describe - the icon doesn't always update in Explorer after i've changed it in the EXE. i'm not sure how to get it to recognize the new icon. maybe open a new Explorer window ?
-
i think Explorer caches icons. at least, i've had the same problem you describe - the icon doesn't always update in Explorer after i've changed it in the EXE. i'm not sure how to get it to recognize the new icon. maybe open a new Explorer window ?
-
I've got a standard MFC MDI app, and want to change the "MFC" icon to my own. In resource view, I've tried editing the icon (in VS) changing what file it points to, even deleting the "MFC" icon file - all make it look right in the resource view, but run the app and the "MFC" icon is still there. Is this called out explicitly in code somewhere? Thanks
Did you also delete the project's
.res
file? In any case, doing a rebuild all should have accounted for the missing/changed .ico file.
"Talent without discipline is like an octopus on roller skates. There's plenty of movement, but you never know if it's going to be forward, backwards, or sideways." - H. Jackson Brown, Jr.
"Judge not by the eye but by the heart." - Native American Proverb
-
I'm not as concerned about the icon displayed in explorer as much as the one in the upper left corner of the main window of my app...
the desktop is a part of Explorer.exe, too.