共用方式為


CDockingManager::FrameFromPoint

Returns the frame that contains the given point.

virtual CPaneFrameWnd* FrameFromPoint(
   CPoint pt,
   CPaneFrameWnd* pFrameToExclude,
   BOOL bFloatMultiOnly
) const;

Parameters

  • [in] pt
    Specifies the point, in screen coordinates, to check.

  • [in] pFrameToExclude
    A pointer to a frame to exclude.

  • [in] bFloatMultiOnly
    TRUE to exclude frames that are not instances of CMultiPaneFrameWnd; FALSE otherwise.

Return Value

The frame that contains the given point; NULL otherwise.

Requirements

Header: afxdockingmanager.h

See Also

Reference

CDockingManager Class

Hierarchy Chart