CWindow::GetIcon

This method retrieves the handle to the window's large or small icon. GetIcon sends a WM_GETICON message to the window.

Syntax

HICON GetIcon( BOOL bBigIcon = TRUE ) const;

At a Glance

Header file: Atlwin.h
Platforms:
Versions: Version 2.0 and later
Complete documentation: Visual C++ documentation

See Also

CWindow Overview, CWindow Methods, CWindow::SetIcon