Unit 'LCLIntf' Package
[Overview][Types][Procedures and functions][Variables][Index] [#lcl]

PtInRect

Checks whether a Point is within a Rect.

Declaration

Source position: winapih.inc line 346

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 4.6 Hosted on Source Forge