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::ChildWindowFromPoint
CWnd                                        Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  CWnd* ChildWindowFromPoint( POINT point ) const;
 
  Parameter   Description
 
  <point>     Specifies the client coordinates of the point to be tested.
 
  Remarks
 
  Determines which, if any, of the child windows belonging to CWnd
  contains the specified point.
 
  Return Value
 
  Identifies the child window that contains the point. It is NULL if the
  given point lies outside of the client area. If the point is within the
  client area but is not contained within any child window, CWnd is
  returned.
 
  This member function will return a hidden or disabled child window that
  contains the specified point.
 
  The CWnd* that is returned may be temporary, and should not be stored
  beyond its immediate use.
 
  See Also
 
  CWnd::WindowFromPoint, ::ChildWindowFromPoint
 
 
                                     -♦-