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.
CRect::PtInRect
CRect                                       Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  BOOL PtInRect( POINT point ) const;
 
  Parameter   Description
 
  <point>     Contains a POINT or CPoint.
 
  Remarks
 
  Determines whether the specified point lies within CRect. A point is
  within CRect if it lies on the left or top side, or is within all four
  sides. A point on the right or bottom side is outside CRect.
 
  Return Value
 
  TRUE if the point lies within CRect; otherwise FALSE.
 
  See Also
 
  ::PtInRect
 
 
                                     -♦-