Engine.UIMessagePollingEnabled
- Mise à jour2025-07-21
- Temps de lecture : 1 minute(s)
Engine.UIMessagePollingEnabled
Syntax
Engine.UIMessagePollingEnabled
Data Type
Purpose
Specifies if user interface message polling is enabled.
Remarks
Default value is False .
Set this property to True when writing a user interface which uses polling rather than events to obtain UIMessages from TestStand.
To poll, call the Engine.IsUIMessageQueueEmpty property. If IsUIMessageQueueEmpty returns False , call the Engine.GetUIMessage method to retrieve the next UIMessage . If your development environment requires you to explicitly release COM references, release the COM reference to the previous user interface message before obtaining the next one.
See Also
Engine.RegisterUIMessageCallbackEx
Setting Up a User Interface Message Handler