Partager via


CPaneFrameWnd::FrameFromPoint

Finds the mini-frame window that contains the specified point.

static CPaneFrameWnd* __stdcall FrameFromPoint(
   CPoint pt,
   int nSensitivity,
   CPaneFrameWnd* pFrameToExclude = NULL,
   BOOL bFloatMultiOnly = FALSE
);

Parameters

  • [in] pt
    The point, in screen coordinates.

  • [in] nSensitivity
    Increase the search area of the mini-frame window by this size. A mini-frame window satisfies the search criteria if the given point falls in the increased area.

  • [in] pFrameToExclude
    Specifies a mini-frame window to exclude from the search.

  • [in] bFloatMultiOnly
    If TRUE, only search mini-frame windows that have the CBRS_FLOAT_MULTI style. If FALSE, search all mini-frame windows.

Return Value

A pointer to the mini-frame window that contains pt; otherwise NULL.

Requirements

Header: afxpaneframewnd.h

See Also

Reference

CPaneFrameWnd Class

Hierarchy Chart