CMFCToolBar::EnableDocking

Enables docking of the pane to the main frame.

virtual void EnableDocking(
   DWORD dwAlignment
);

Parameters

  • [in] dwAlignment
    Specifies the docking alignment to enable.

Remarks

This method extends the base class implementation, CBasePane::EnableDocking, by setting the CBasePane::m_dwControlBarStyle data member to AFX_CBRS_FLOAT. This method then passes dwAlignment to the base class implementation.

Requirements

Header: afxtoolbar.h

See Also

Reference

CMFCToolBar Class

Hierarchy Chart

CBasePane::EnableDocking