NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Prevent TestStand Popups stealing focus from other application

Hi all,

 

In our company we use dual screen computers. On one screen a TestStand 4.1 execution is active, on the other screen our companies ERP system is active. While a TestStand execution is active, we can prepare and/or complete the testing tasks in the ERP software.

 

When the TestStand execution runs into a GUI vi or a message, it steals focus from the ERP application. Is there a way to avoid this but still get the TestStand popup on the foreground?

0 Kudos
Message 1 of 2
(2,602 Views)

One thing to mention is that a popup dialog is meant to take focus to prevent the user from hiding and forgetting about it.

That being said, the TS Message Popup step includes a module which exactly does this.

 

If you want a dialog which does not take application focus you have to implement one. The way to show a panel without taking application focus is based in the Windows SDK.

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 2
(2,582 Views)