Board index » Visual Studio » CWinApp Setting application icon
|
BruceDMeyer
|
|
BruceDMeyer
|
CWinApp Setting application icon
Visual Studio380
In CWinApp I can set the application title by changing the data member m_pszAppName. This title then appears in the top left of the application window. Just to the title's right is a logo icon which is defaulted to the MFC icon. I'd like to change it to the applications icon. How is that done? Thanks, Neil - |
| AliR
Registered User |
Wed Mar 02 14:35:44 CST 2005
Re:CWinApp Setting application icon
Look in your resources for an icon with the id IDR_MAINFRAME and modify
that. A point to be careful is that an Icon can have entries for different sizes and colors. If you are simply going to edit that instead of the changing the file that it points to, make sure that you delete the ones that you are not intrested in. AliR. "Neil B" <NeilB@discussions.microsoft.com>wrote in message QuoteIn CWinApp I can set the application title by changing the data member - |
| Ajay
Registered User |
Wed Mar 02 14:36:47 CST 2005
Re:CWinApp Setting application icon
To change the application icon, change IDR_MAINFRAME icon in resource
editor. Make sure to change the content for both 16x16 and 32x32. --------- Ajay Kalra ajaykalra@yahoo.com - |
| thatsalok
Registered User |
Wed Mar 02 22:54:24 CST 2005
Re:CWinApp Setting application iconYou can set Custom Icon by using SetIcon(...) Api, -- With Regards Alok Gupta Visit me at alok.bizhat.com">alok.bizhat.com "I think this will Help" "Neil B" <NeilB@discussions.microsoft.com>wrote in message QuoteIn CWinApp I can set the application title by changing the data member - |
