CCommandBar::AddBitmap
Adds one or more images to the list of button images available in the command bar.
int AddBitmap (
int nBitMapID,
int nNumImages );
Parameters
The following table describes the parameters for the AddBitmap method of the CCommandBar Class.
nBitMapID
Specifies the resource identifier of the bitmap that contains the button image or images to add.nNumImages
Specifies the number of button images in the bitmap.
Return Values
Zero-based index of the first new image, if successful, and –1 otherwise.
Requirements
Windows CE versions 5.0 or later versions.
Header file: Declared in Afxext.h.