Partager via


CDC::GetCurrentBitmap

Returns a pointer to the currently selected CBitmap object.

CBitmap* GetCurrentBitmap( ) const;

Return Value

Pointer to a CBitmap object, if successful; otherwise NULL.

Remarks

This member function may return temporary objects.

Requirements

Header: afxwin.h

See Also

Reference

CDC Class

Hierarchy Chart

CDC::SelectObject

GetCurrentObject

CDC::GetCurrentBrush

CDC::GetCurrentFont

CDC::GetCurrentPalette

CDC::GetCurrentPen