Expand Minimize
This topic has not yet been rated - Rate this topic

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
);
[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.

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

Header: afxpaneframewnd.h

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.