CGXBitmapButtonChild::LoadBitmaps

BOOL LoadBitmaps(UINT nIDBitmapResource,UINT nIDBitmapResourceSel = 0, UINT nIDBitmapResourceFocus = 0);

BOOL LoadBitmaps(LPCTSTR lpszBitmapResource, LPCTSTR lpszBitmapResourceSel = NULL, LPCTSTR lpszBitmapResourceFocus = NULL);

nIDBitmapResource

Specifies the resource ID number of the bitmap resource for a bitmap button’s normal or “up” state. Required.

nIdBitmapResourceSel

Specifies the resource ID number of the bitmap resource for a bitmap button’s selected or “down” state. May be 0.

nIDBitmapResourceFocus

pecifies the resource ID number of the bitmap resource for a bitmap button’s focused state. May be 0.

lpszBitmapResource

Points to the null-terminated string that contains the name of the bitmap resource for a bitmap button’s normal or “up” state. Required.

lpszBitmapResourceSel

Points to the null-terminated string that contains the name of the bitmap button’s selected or “down” state. May be 0.

lpszBitmapResourceFocus

oints to the null-terminated string that contains the name of the bitmap button’s focused state. May be 0.

Return Value

Nonzero if successful; otherwise 0.

Remarks

Use this function to load bitmap images identified by their resource names or ID numbers.

CGXBitmapButtonChild

 Class Overview |  Class Members