PtInRect

function PtInRect(const R: TRect; const P: TPoint): Boolean;

Description

Returns True if the point lies inside the specified rectangle.

See Also

Point Types, Rectangle Types