CWindow::GetIcon

HICON GetIcon( BOOL bBigIcon = TRUE ) const;

Return Value

An icon handle.

Parameters

bBigIcon

[in] If TRUE (the default value) the method returns the large icon. Otherwise, it returns the small icon.

Remarks

Retrieves the handle to the window’s large or small icon. GetIcon sends a WM_GETICON message to the window.

CWindow OverviewClass Members

See Also   CWindow::SetIcon