| CBCGPToolbarButton::CBCGPToolbarButton | ( | UINT | uiID, |
| int | iImage, | ||
| LPCTSTR | lpszText = NULL, |
||
| BOOL | bUserButton = FALSE, |
||
| BOOL | bLocked = FALSE |
||
| ) |
Constructs and initializes a CBCGPToolbarButton object.
| uiID | Specifies a command ID to assign to the button. |
| iImage | Specifies the button's image index in the image collection. |
| lpszText | Specifies the button's text label. Can be NULL. |
| bUserButton | TRUE- the image of the button is user-defined; FALSE - the image is loaded from the resources. |
| bLocked | TRUE - the button can't be customized (locked); FALSE - the button can be customized. |