[Overview][Types][Procedures and functions][Variables][Index] Reference for unit 'LCLIntf' (#lcl)

PtInRect

Checks whether a Point is within a Rect.

Declaration

Source position: winapih.inc line 342

function PtInRect(

  const Rect: TRect;

  const Point: TPoint

):Boolean;

Function result

True when Point is within Rect.

Description

Top and Left side are part of the rectangle, but Bottom and Right side are outside.


Version 3.2 Generated 2024-02-25 Home