共用方式為


CMFCToolBarComboBoxButton::SetFlatMode

Sets the flat style appearance of combo box buttons in the application.

static void SetFlatMode(
   BOOL bFlat=TRUE 
);

Parameters

  • [in] bFlat
    TRUE for a flat style appearance; otherwise FALSE.

Remarks

The default flat style for combo box buttons is FALSE.

Requirements

Header: afxtoolbarcomboboxbutton.h

See Also

Reference

CMFCToolBarComboBoxButton Class

Hierarchy Chart