Wimark.Controls Class Library  

ListBox.ItemFromPoint(Int32, Int32) Method

Returns the list item at the specified coordinates.

[Visual Basic]
Overloads Public Function ItemFromPoint( _
   ByVal x As Integer, _
   ByVal y As Integer _
) As ListItem 
[C#]
public ListItem ItemFromPoint( 
   int x, 
   int y 
);
[C++]
public: ListItem* ItemFromPoint( 
   int x, 
   int y 
);

Parameters

x
The x coordinate of the location to search.
y
The y coordinate of the location to search.

Return Value

The item found at the specified coordinates; returns null if no match is found.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows .NET Server family

See Also

ListBox Class | ListBox Members | Wimark.Controls Namespace