Enables docking of the pane to the main frame.
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.