Udostępnij za pośrednictwem


CPaneFrameWnd::PaneFromPoint

Returns a pane if it contains a user-supplied point inside a mini-frame window.

virtual CBasePane* PaneFromPoint(
    CPoint point,
    int nSensitivity,
    BOOL bCheckVisibility
);

Parameters

  • [in] point
    The point that the user clicked, in screen coordinates.

  • [in] nSensitivity
    This parameter is not used.

  • [in] bCheckVisibility
    TRUE to specify that only visible panes should be returned; otherwise, FALSE.

Return Value

The pane that the user clicked, or NULL if no pane exists at that location.

Remarks

Call this method to obtain a pane that contains the given point.

Requirements

Header: afxPaneFrameWnd.h

See Also

Reference

CPaneFrameWnd Class

Hierarchy Chart