This method determines 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.
Header file: | Afxwin.h |
Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro |
Windows CE versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
BOOL PtInRect( POINT point ) const;