BCGControlBar Pro for MFC
static int CBCGPToolBar::GetDefaultImage ( UINT  uiID)
inlinestatic

Returns an index of the default image for a toolbar button with the specified command ID.

Returns
An index of the toolbar image in the shared list of images.

Use this static member function to retrieve an index of the default image for a toolbar button with the specified command ID. The returned index is in CBCGPToolBarImages collection, that is the shared collection for all toolbars in the application. Call GetImages() to get access to this collection.

Parameters
uiIDSpecifies the button's command ID.