ItEv_FindControlByPos 

Use

Finds a control on the screen based on its position.

Syntax

DWORD DLEX ItEv_FindControlByPos (PIT_EVENT pEvt, long top, long left);

Parameters

pEvt

Pointer to the IT_EVENT structure

top

Row number for the position in character coordinates

left

Column number for the position in character coordinates

Return Value

This call returns the control index for a given location (top and left). The index is zero-based. If the control is not found, then –1 will be returned.

See Also

ItEv_FindControl.