Partager via


CMFCToolBarEditBoxButton::SetFlatMode

Specifies the flat style appearance of edit box buttons in the application.

static void __stdcall SetFlatMode(
   BOOL bFlat = TRUE
);

Parameters

  • [in] bFlat
    The flat style for edit box buttons. If this parameter is TRUE, the flat style appearance is enabled; otherwise the flat style appearance is disabled.

Remarks

The default flat style for edit box buttons is TRUE. Use the CMFCToolBarEditBoxButton::IsFlatMode method to retrieve the flat style appearance for your application.

Requirements

Header: afxtoolbareditboxbutton.h

See Also

Reference

CMFCToolBarEditBoxButton Class

Hierarchy Chart

CMFCToolBarEditBoxButton::IsFlatMode