This method sets the window's large or small icon to the icon identified by hIcon. SetIcon sends a WM_SETICON message to the window.
HICON SetIcon( HICON hIcon, BOOL bBigIcon = TRUE );
Header file: | Atlwin.h |
Platforms: | |
Versions: | Version 2.0 and later |
Complete documentation: | Visual C++ documentation |
CWindow Overview, CWindow Methods, CWindow::GetIcon