BCGControlBar Pro for MFC
CBCGPToolbarButton::CBCGPToolbarButton ( UINT  uiID,
int  iImage,
LPCTSTR  lpszText = NULL,
BOOL  bUserButton = FALSE,
BOOL  bLocked = FALSE 

Constructs and initializes a CBCGPToolbarButton object.

uiIDSpecifies a command ID to assign to the button.
iImageSpecifies the button's image index in the image collection.
lpszTextSpecifies the button's text label. Can be NULL.
bUserButtonTRUE- the image of the button is user-defined; FALSE - the image is loaded from the resources.
bLockedTRUE - the button can't be customized (locked); FALSE - the button can be customized.