Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
CWnd::WindowFromPoint
CWnd                                        Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  static CWnd* WindowFromPoint( POINT point );
 
  Parameter   Description
 
  <point>     Specifies a CPoint or POINT data structure that defines
              the point to be checked.
 
  Remarks
 
  Identifies the window that contains the given point; <point> must
  specify the screen coordinates of a point on the screen.
 
  Return Value
 
  A pointer to the window object in which the point lies. It is NULL if no
  window exists at the given point. The returned pointer may be
  temporary.
 
  See Also
 
  ::WindowFromPoint, CWnd::ChildWindowFromPoint
 
 
                                     -♦-