function PtInRect(const R: TRect; const P: TPoint): Boolean;
Returns True if the point lies inside the specified rectangle.
[See also]