Partilhar via


CBitmap Class

Encapsulates a Windows graphics device interface (GDI) bitmap and provides member functions to manipulate the bitmap.

class CBitmap : public CGdiObject

Remarks

To use a CBitmap object, construct the object, attach a bitmap handle to it with one of the initialization member functions, and then call the object's member functions.

For more information on using graphic objects like CBitmap, see Graphic Objects.

Requirements

Header: afxwin.h

See Also

Reference

CGdiObject Class

Hierarchy Chart

Other Resources

MFC Sample MDI

CBitmap Members