Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
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
 
 
                                     -♦-