Share via


CMFCToolBarComboBoxButton::SetCenterVert

Sets the vertical position of combo box buttons in the application.

static void SetCenterVert(
   BOOL bCenterVert=TRUE 
);

Parameters

  • [in] bCenterVert
    TRUE to center the combo box button in the toolbar; FALSE to align the combo box button to the top of the toolbar.

Remarks

By default, combo box buttons are aligned to the top.

Requirements

Header: afxtoolbarcomboboxbutton.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCToolBarComboBoxButton Class