CDC::DrawIcon

This method draws an icon on the device represented by the current CDC object.

At a Glance

Header file: Afxwin.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

BOOL DrawIcon( int x, int y, HICON hIcon );

BOOL DrawIcon( POINT point, HICON hIcon );

See Also

CWinApp::LoadIcon, CWinApp::LoadStandardIcon, CWinApp::LoadOEMIcon, CDC::GetMapMode