CBitmap::CreateCompatibleBitmap

This method initializes a bitmap that is compatible with the device specified by pDC.

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 CreateCompatibleBitmap( CDC* pDC, int nWidth, int nHeight );

See Also

CGdiObject::DeleteObject