AppMainHwnd Property

TestStand 2019 Help

Edition Date: May 2019

Part Number: 370052AA-01

»View Product Info
Download Help (Windows Only)

Syntax

Engine.AppMainHwnd

Data Type

Long

Purpose

Specifies the Window handle of the owner of modal dialog boxes.

Remarks

TestStand uses this property to make dialog boxes modal to the application. Do not set this property because TestStand sets it automatically when the application creates the TestStand Engine. Setting this property can cause dialog boxes to be modal to the wrong window. This property usually refers to the main window of the application but refers to the window of the dialog box when the application displays a modal dialog box.

WAS THIS ARTICLE HELPFUL?

Not Helpful