Unicode Property

Applies to TestComplete 14.90, last modified on June 15, 2021

Description

Using this property you can determine whether a window is a native Unicode window or an ANSI window. If a window is a native Unicode window, the text parameters of Windows messages sent to the window are Unicode.

Declaration

TestObj.Unicode

Read-Only Property Boolean
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 objects:

View Mode

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

Property Value

True if the window is a native Unicode window; else, False.

Remarks

If the window class was registered with the RegisterClassW function of Windows API, the window is Unicode. Else, the window is a native ANSI window. Also, Unicode windows should be created with the CreateWindowExW function.

See Also

WndStyles Property
WndStylesEx Property

Highlight search results