CBCGPToolbarEditBoxButton::CBCGPToolbarEditBoxButton | ( | UINT | uiID, |
int | iImage, | ||
DWORD | dwStyle = ES_AUTOHSCROLL , |
||
int | iWidth = 0 |
||
) |
Constructs a CBCGPToolbarEditBoxButton object.
The default constructor sets the edit control style to the following combination: WS_CHILD | WS_VISIBLE | ES_AUTOHSCROLL. The default control's width is 150 pixels.
uiID | Specifies the control ID. |
iImage | Specifies the zero-based index of a toolbar image. The image is taken from a CBCGPToolBarImages object. |
dwStyle | Specifies the edit control style. |
iWidth | Specifies the edit control's size. |