Share

CAdUiToolBarCtrl::AddBitmap (int, UINT) Method

C++

int AddBitmap(
    int nNumButtons, 
    UINT nBitmapID
);

Description

Adds one or more button images to the list of button images stored in the toolbar control.

Parameters

Parameters Description
nNumButtons Number of button images in the bitmap
nBitmapID Resource identifier of the bitmap that contains the button image or images to add

Returns

Zero-based index of the first new image if successful; otherwise -1.

Links

CAdUiToolBarCtrl Class

Was this information helpful?