Hi there.
I need to change application icon for different instances at run time. There is a way to do it for minimized windows, but I do not know anything for restored windows.
Any ideas?
Respectfully,
Vladas
Vladas, The Programmer
Printable View
Hi there.
I need to change application icon for different instances at run time. There is a way to do it for minimized windows, but I do not know anything for restored windows.
Any ideas?
Respectfully,
Vladas
Vladas, The Programmer
I use this to do it in my CMainFrame class :
SetClassLong( m_hWnd, GCL_HICON, (LONG)TheApp->m_hAppIcon );
m_hAppIcon is loaded with LoadIcon by the application class.