Wimark.Controls Class Library  

ListBox.ItemFromPoint(Point) Method

Returns the list item at the specified coordinates.

[Visual Basic]
Overloads Public Function ItemFromPoint( _
   ByVal p As Point _
) As ListItem 
[C#]
public ListItem ItemFromPoint( 
   Point p 
);
[C++]
public: ListItem* ItemFromPoint( 
   Point p 
);

Parameters

p
A Point object containing the coordinates used to obtain the item.

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