Graphisoft®

Dialog ManagerVersion: 2.0

TreeView::GetItemRect

Retrieves the bounding rectangle of an item.

bool GetItemRect (
    long                tvItem,
    Rect *              rect
) const;

Parameters

tvItem
ID of the tree view item.
rect
Output parameter: A pointer to the bounding rectangle of the tree view item.

Return Value

true, if the bounding rectangle was retrieved successfully, false, if rect is NULL, or the tree view item is not listed.