CWindow::SetIcon

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.

At a Glance

Header file: Atlwin.h
Windows CE versions: 2.0 and later
Complete documentation: Visual C++ documentation

Syntax

HICON SetIcon( HICON hIcon, BOOL bBigIcon = TRUE );

See Also

CWindow::GetIcon