Microsoft SDK for Java

ListBox.getItemRect

Retrieves the bounding rectangle for an item in the list.

Syntax

public final Rectangle getItemRect( int index )

Parameters

index

The zero-based index of item whose bounding rectangle you want to return.

Return Value

Returns a Rectangle object that represents the bounding rectangle for the specified list box item.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.