Handle Property (TreeViewItem Objects)

Applies to TestComplete 15.0, last modified on October 22, 2021

Description

Use this property to get the handle of a tree view item. A handle is an integer that Microsoft Windows uses to identify a window or another object, such as a bitmap or a tree view item. The handle of a window or object remains the same for the lifetime of the window (object). If you save the item’s handle to a variable, you will be able to obtain the item by its handle unless it is destroyed or recreated by that moment.

Declaration

TestObj.Handle

Read-Only Property Integer
TestObj A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section

Applies To

The property is applied to the following object:

View Mode

To view this property in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.

Property Value

An integer number that denotes the handle of the tree view item.

See Also

LParam Property (TreeViewItem Objects)

Highlight search results