Partager via


CAutoHideDockSite::DockPane

Docks a pane to this CAutoHideDockSite object.

virtual void DockPane(
   CPane* pWnd,
   AFX_DOCK_METHOD dockMethod,
   LPRECT lpRect = NULL
);

Parameters

Parameter

Description

[in] pWnd

The pane that the framework docks.

[in] dockMethod

Docking options for the pane.

[in] lpRect

A rectangle that specifies the boundaries for the docked pane.

Remarks

The default implementation does not use the parameter dockMethod, which is provided for future use.

If lpRect is NULL, the framework puts the pane in the default location on the dock site. If the dock site is horizontal, the default location is at the far left of the dock site. Otherwise, the default location is at the top of the dock site.

Requirements

Header: afxautohidedocksite.h

See Also

Reference

CAutoHideDockSite Class

Hierarchy Chart