CMDIFrameWndEx::PaneFromPoint
TOC
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

CMDIFrameWndEx::PaneFromPoint

Returns the docking pane that contains the specified point.

CBasePane* PaneFromPoint(
   CPoint point,
   int nSensitivity,
   bool bExactBar,
   CRuntimeClass* pRTCBarType 
) const;
CBasePane* PaneFromPoint(
   CPoint point,
   int nSensitivity,
   DWORD& dwAlignment,
   CRuntimeClass* pRTCBarType 
) const;

[in] point

The point (in screen coordinates).

[in] nSensitivity

The window rectangle of each checked pane is enlarged in all directions by this value.

[in] bExactBar

If TRUE, the nSensitivity parameter is ignored.

[in] pRTCBarType

If non-NULL, the method iterates over only the panes of the specified type.

[out] dwAlignment

If a pane is found, this parameter will specify which side of the pane is closest to the specified point.

A pointer to a docking pane, or NULL if no control contains the point specified by point.

The call is redirected to the CDockingManager Class. See CDockingManager::PaneFromPoint for more information.

Header: afxMDIFrameWndEx.h

Show:
© 2016 Microsoft