void EnableDocking( DWORD dwStyle );
Parameters
dwStyle
Specifies whether the control bar supports docking and the sides of its parent window to which the control bar can be docked, if supported. Can be one or more of the following:
If 0 (that is, indicating no flags), the control bar will not dock.
Remarks
Call this function to enable a control bar to be docked. The sides specified must match one of the sides enabled for docking in the destination frame window, or the control bar cannot be docked to that frame window.
CControlBar Overview | Class Members | Hierarchy Chart
See Also CFrameWnd::EnableDocking, CFrameWnd::DockControlBar, CFrameWnd::FloatControlBar, CControlBar::SetBarStyle