Important: The information in this document is obsolete and should not be used for new development.
PtInRect
To determine whether a pixel below is enclosed in a rectangle, use thePtInRectfunction.
FUNCTION PtInRect (pt:\xDDPoint; r: Rect): Boolean;
pt- The point to test.
r- The rectangle to test.
DESCRIPTION
ThePtInRectfunction determines whether the pixel below and to the right of the point you specify in theptparameter is enclosed in the rectangle that you specify in theRectparameter. ThePtInRectfunction returnsTRUEif it is,FALSEif it is not.