Call this member function to determine whether the specified point lies within the CRect object. 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.
BOOL PtInRect( POINT point ) const;
Header file: | Afxwin.h |
Platforms: | |
Versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
CRect Overview, CRect Member Functions, Simple Value Types, CRect::NormalizeRect