Compartir a través de


CBasePane::GetDockingMode

Returns the current docking mode for the pane.

virtual AFX_DOCK_TYPE GetDockingMode() const;

Return Value

DT_STANDARD if dragging the pane is indicated on the screen by a drag rectangle. DT_IMMEDIATE if the contents of the pane are dragged.

Remarks

The framework calls this method to determine the current docking mode of the pane.

If CBasePane::m_dockMode is undefined (DT_UNDEFINED), then the docking mode is taken from the global docking mode (AFX_GLOBAL_DATA::m_dockModeGlobal).

By setting m_dockMode or overriding GetDockingMode you can control the docking mode for each pane.

Requirements

Header: afxbasepane.h

See Also

Reference

CBasePane Class

Hierarchy Chart