Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Subject |
Author |
Date |
|
Debabrata Mukherjee
|
Nov 24, 2007 - 11:39 PM
|
My application icon that should come when I press "ALT + TAB" has gone missing after integration with Prof-UIS. It shows only a default "White Rectangle" icon that shows for default ".exe" files. Can you tell me the reason and what needs to be done inorder to avoid this?
PLease reply ASAP.
|
|
Suhai Gyorgy
|
Nov 27, 2007 - 1:59 AM
|
I’ve tried with some of the Prof-UIS sample applications and the icon looked ok on them. Please check if you have this code in your CMainFrame::OnCreate CWinApp * pApp = ::AfxGetApp();
...
HICON hIcon = pApp->LoadIcon( IDR_MAINFRAME );
ASSERT( hIcon != NULL );
SetIcon( hIcon, TRUE );
SetIcon( hIcon, FALSE );
|
|