Toolbar Edit Box with Spin Button and Calculator

Fully implemented BCGControlBar Pro (MFC)

Not available BCGSuite (MFC)

Fully implemented BCGControlBar for .NET

You can embed any type of control into a toolbar button. Toolbar edit box buttons with spin button control and popup calculator are supported out-of-the-box.

Toolbar button with a dropped-down calculator:

Toolbar button with a dropped-down calculator:

Sample code:

CBCGPToolbarEditBoxButton editButton1 (ID_EDIT_1,
	CImageHash::GetImageOfCommand (ID_EDIT_1, FALSE),
	ES_AUTOHSCROLL, 100);
m_wndToolBar.ReplaceButton (ID_EDIT_1, editButton1);

CBCGPToolbarSpinEditBoxButton editButton2 (ID_EDIT_2,
	CImageHash::GetImageOfCommand (ID_EDIT_2, FALSE),
	ES_AUTOHSCROLL, 100);
m_wndToolBar.ReplaceButton (ID_EDIT_2, editButton2);

CBCGPToolbarEditBoxButton editButton3 (ID_EDIT_3,
	CImageHash::GetImageOfCommand (ID_EDIT_3, FALSE),
	ES_AUTOHSCROLL, 100);
editButton3.EnableCalculator ();
m_wndToolBar.ReplaceButton (ID_EDIT_3, editButton3);

Cookie consent

Cookies could be used by BCGSoft.com for analytical purposes. We must request that you accept them. Cookies are used on our website to enhance browsing experience and personalize it for you. Cookies are necessary in some circumstances for the site to operate properly. By using this website, you consent to the usage of cookies. Find out more details on BCGSoft Privacy Statement and Terms of Use.

I understand and accept it