ControlId Property

Applies to TestComplete 15.47, last modified on January 20, 2023

Description

This property returns the window identifier. This is the same value that is returned by the GetWindowLong(hwndCtrl, GWL_ID) or by GetDlgCtrlID(hwndCtl) Win32 API functions.

Declaration

TestObj.ControlId

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

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 value that represents the window identifier.

See Also

Id Property
Name Property
FullName Property
MappedName Property
WndClass Property
WndCaption Property
Naming Controls and Objects
Object Browser Naming Notation

Highlight search results