BCGSoft > Products > Product feature tour

Product feature tour

Context | First | Prev | Next | Last
Fully implemented BCGControlBar Pro (MFC)
Not available BCGSuite (MFC)
Fully implemented BCGControlBar (Microsoft .NET)

Toolbar edit box buttons with spin button control and calculator

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