Dela 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

Concepts

MFC Hierarchy Chart

Reference

CMFCToolBarEditBoxButton Class

CMFCToolBarEditBoxButton::IsFlatMode