CControlBar Methods

Attributes Methods

Method Description
GetBarStyle Retrieves the control bar style settings.
SetBarStyle Modifies the control bar style settings.
GetBorders Retrieves the border values of the control bar.
SetBorders Sets 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.
CalcFixedLayout Returns the size of the control bar as a CSize object.
CalcDynamicLayout Returns the size of a dynamic control bar as a CSize object.

Overridable Methods

Method Description
OnUpdateCmdUI Calls the Command UI handlers.

Operation Methods

Method Description
EnableDocking Allows a control bar to be docked or floating.