April 29th, 1999, 11:58 PM
How do you change the icon in a window's title bar?
|
Click to See Complete Forum and Search --> : Icons April 29th, 1999, 11:58 PM How do you change the icon in a window's title bar? Rajesh Jangid April 30th, 1999, 12:49 AM Assign the desired icon to IDR_MAINFRAME at design time or if u want to set it at run time then HICON hIconNew = AfxGetApp()->LoadIcon( IDI_ICON1); if( hIconNew) { AfxGetApp()->m_pMainWnd->SetIcon( hIconNew, TRUE); } Rajesh M. Jangid C,C++,VC++,Java(C plus plus minus) codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |