|
Toolbar edit box buttons with spin button control and calculator |
|
|
 |
BCGControlBar Pro (MFC) |
 |
BCGSuite (MFC) |
 |
BCGControlBar (Microsoft .NET) |
|
You can embed any type of control into a toolbar button. Toolbar edit box buttons with spin button control and popup calculator (BCGControlBar Professional Edition only) are supported out-of-the-box. |
|

|
|
|
|
|
|
| Sample code: |
CBCGToolbarEditBoxButton editButton1 (ID_EDIT_1,
CImageHash::GetImageOfCommand (ID_EDIT_1, FALSE),
ES_AUTOHSCROLL, 100);
m_wndToolBar.ReplaceButton (ID_EDIT_1, editButton1);
CBCGToolbarSpinEditBoxButton editButton2 (ID_EDIT_2,
CImageHash::GetImageOfCommand (ID_EDIT_2, FALSE),
ES_AUTOHSCROLL, 100);
m_wndToolBar.ReplaceButton (ID_EDIT_2, editButton2);
CBCGToolbarEditBoxButton editButton3 (ID_EDIT_3,
CImageHash::GetImageOfCommand (ID_EDIT_3, FALSE),
ES_AUTOHSCROLL, 100);
editButton3.EnableCalculator ();
m_wndToolBar.ReplaceButton (ID_EDIT_3, editButton3); |
|
|
| Prev
Next |