CBasePane::SetControlBarStyle

Sets the control bar style.

virtual void SetControlBarStyle(
   DWORD dwNewStyle
);

Parameters

  • [in] dwNewStyle
    A bitwise-OR combination of the following possible values.

    Style

    Description

    AFX_CBRS_FLOAT

    Makes the control bar float.

    AFX_CBRS_AUTOHIDE

    Enables auto-hide mode.

    AFX_CBRS_RESIZE

    Enables resizing of the control bar. When this flag is set, the control bar can be placed in a dockable pane.

    AFX_CBRS_CLOSE

    Enables hiding of the control bar.

Requirements

Header: afxbasepane.h

See Also

Reference

CBasePane Class

Hierarchy Chart

CBasePane::GetControlBarStyle