CWnd::SetIcon

HICON SetIcon( HICON hIcon, BOOL bBigIcon );

Return Value

A handle to an icon.

Parameters

hIcon

A handle to a previous icon.

bBigIcon

Specifies a 32 pixel by 32 pixel icon if TRUE; specifies a 16 pixel by 16 pixel icon if FALSE.

Remarks

Call this member function to set the handle to a specific icon, as identified by hIcon. When the window class is registered, it selects an icon.

CWnd OverviewClass MembersHierarchy Chart

See Also   GetIcon


Send feedback to MSDN.Look here for MSDN Online resources.