HitTest method (ImageList Control)

C++ Builder example

Delphi example

 

Builder Syntax

int __fastcall HitTest(int x, int y);

Delphi Syntax

Function HitTest(x : Integer; y: Integer): Integer;

Overview

Refer to Using the ImageList Control.

Remarks

Queries the specified location to determine if the point is over an ImageList Control item.

See Also

Elements:

Item property, AllowSelection property, OnItemSelected event.

Topics:

Raster Images: Displaying Images