CDC::DrawIcon
Visual Studio 2012
Draws an icon on the device represented by the current CDC object.
BOOL DrawIcon( int x, int y, HICON hIcon ); BOOL DrawIcon( POINT point, HICON hIcon );
The function places the icon's upper-left corner at the location specified by x and y. The location is subject to the current mapping mode of the device context.
The icon resource must have been previously loaded by using the functions CWinApp::LoadIcon, CWinApp::LoadStandardIcon, or CWinApp::LoadOEMIcon. The MM_TEXT mapping mode must be selected prior to using this function.
See the example for CWnd::IsIconic.