Compartir a través de


CBitmap::operator HBITMAP

Use this operator to get the attached Windows GDI handle of the CBitmap object.

operator HBITMAP( ) const;

Return Value

If successful, a handle to the Windows GDI object represented by the CBitmap object; otherwise NULL.

Remarks

This operator is a casting operator, which supports direct use of an HBITMAP object.

For more information about using graphic objects, see Graphic Objects in the Windows SDK.

Requirements

Header: afxwin.h

See Also

Concepts

CBitmap Class

CBitmap Members

Hierarchy Chart