CBitmap::LoadOEMBitmap

Syntax

BOOL LoadOEMBitmap( UINT nIDBitmap );

Parameters

nIDBitmap

ID number of the predefined Windows bitmap. The possible values are listed below from WINDOWS.H:

OBM_BTNCORNERS OBM_BTSIZE OBM_CHECK OBM_CHECKBOXES OBM_CLOSE OBM_COMBO OBM_DNARROW OBM_DNARROWD OBM_DNARROWI OBM_LFARROW OBM_LFARROWD OBM_LFARROWI OBM_MNARROW OBM_OLD_CLOSE OBM_OLD_DNARROW OBM_OLD_LFARROW OBM_OLD_REDUCE OBM_OLD_RESTORE OBM_OLD_RGARROW OBM_OLD_UPARROW OBM_OLD_ZOOM OBM_REDUCE OBM_REDUCED OBM_RESTORE OBM_RESTORED OBM_RGARROW OBM_RGARROWD OBM_RGARROWI OBM_SIZE OBM_UPARROW OBM_UPARROWD OBM_UPARROWI OBM_ZOOM OBM_ZOOMD

Remarks

Loads a predefined bitmap used by Windows.

Bitmap names that begin with OBM_OLD represent bitmaps used by Windows versions prior to 3.0.

Note that the constant OEMRESOURCE must be defined before including WINDOWS.H in order to use any of the OBM_ constants.

Return Value

TRUE if successful; otherwise FALSE.

See Also

CBitmap::LoadBitmap, ::LoadBitmap