Share via


CControlBar Members

Base Class Members

CObject Members

CCmdTarget Members

CWnd Members

Data Members

m_bAutoDelete

If nonzero, the CControlBar object is deleted when the Windows control bar is destroyed.

m_pInPlaceOwner

The in-place owner of the control bar.

Attributes

CalcDynamicLayout

Returns the size of a dynamic control bar as a CSize object.

CalcFixedLayout

Returns the size of the control bar as a CSize object.

CControlBar

Constructs a CControlBar object.

GetBarStyle

Retrieves the control bar style settings.

GetBorders

Retrieves the border values of the control bar.

GetCount

Returns the number of non-HWND elements in the control bar.

GetDockingFrame

Returns a pointer to the frame to which a control bar is docked.

IsFloating

Returns a nonzero value if the control bar in question is a floating control bar.

SetBarStyle

Modifies the control bar style settings.

SetBorders

Sets the border values of the control bar.

SetInPlaceOwner

Changes the in-place owner of a control bar.

Overridables

OnUpdateCmdUI

Calls the Command UI handlers.

Operations

EnableDocking

Allows a control bar to be docked or floating.

Gripper Bar Painting

CalcInsideRect

Returns the current dimensions of the control bar area; including the borders.

DoPaint

Renders the borders and gripper of the control bar.

DrawBorders

Renders the borders of the control bar.

DrawGripper

Renders the gripper of the control bar.

See Also

Reference

CControlBar Class

Hierarchy Chart