Compartilhar via


CBasePane::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

Call this method to enable docking alignment to the main frame. You can pass a combination of CBRS_ALIGN_ flags (for more information, see CControlBar::EnableDocking).

EnableDocking sets the internal flag CBasePane::m_dwEnabledAlignment and the framework checks this flag when a pane is docked.

Call CBasePane::GetEnabledAlignment to determine the docking alignment for a pane.

Requirements

Header: afxbasepane.h

See Also

Reference

CBasePane Class

Hierarchy Chart