Wrong Icon On Title Bar

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Working with Visual Studio 2005, with a wizard-generated MFC application and no doc/view support, I get a generic application icon on my title bar. However, the wizard generated icon, IDR_MAINFRAME, is the icon with the MFC logo. The frame window is created via LoadFrame and IDR_MAINFRAME is passed to it. The program has no other icons associated with it.
 
So why is the generic icon on the apps title bar?

Whats weird is that it is ONLY in the title bar where I get the generic icon. In the taskbar and on the desktop (when I create a shortcut), the icon is the correct one with the MFC letters.

Again, the program icon shows correctly everywhere EXCEPT on the apps title bar!

View the full article
 
Back
Top