GUI Help > Special > listViewItemFromPoint
listViewItemFromPoint
int index=listViewItemFromPoint(handle gadget, int x, int y)
Description: Returns the index of the listview item at the specified co-ordinates.
Return Value: See Above
Parameters:
gadget | Handle of a listview gadget
x | X co-ordinate of the point, relative to the left-side of the gadget.
y | Y co-ordinate of the point. Relative to the top of the listview gadget.
Remarks:
See Also:
Example: (Note: You will need to include the GUI constants file for this example to work)