CWnd::SetIcon

Call this member function to set the handle to a specific icon, as identified by hIcon.

Syntax

HICON SetIcon( HICON hIcon, BOOL bBigIcon );

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CWnd Overview, CWnd Member Functions, Window Class Categories, GetIcon