NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Minimize teststand window programmatically?

How do I get teststand to minimize it's execution window programmatically within a sequence step? How do I mess with any of the window propertys like making it always on top, maximizing, floating, etc...
0 Kudos
Message 1 of 2
(3,526 Views)
Hi,

Are you talking about the sequence editor? To do this you need to use the Windows API to perform functions on windows. You can call into the User32.lib and call functions such as CloseWindow (minimize) to manipulate the Windows on the screen. Not sure how you would get about minimizing an execution window inside the parent sequence editor window, but I would think it should be possible. Consult MSDN for more information.

Bob
Message 2 of 2
(3,526 Views)