LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VI on top

Hi to ALL,

 

I'd like to hold my VI on the top when the user, clicking around, brings on top a different application, such as TestStand, which is working on the back ground. I have tried to do this calling the Windows API but it seems it doesn't work as expected on windows 7. Does anyone know if the "FindWindowsA" and the "ShowWindows" function are still working on windows 7?

 

Following the code I'm using!!

 

 

Ricky
Italian Developer engineer
www.www.selt-sistemi.com
0 Kudos
Message 1 of 3
(2,420 Views)

The functions work great on Windows 7.  Are you using 32 or 64 bit?

0 Kudos
Message 2 of 3
(2,407 Views)

I'm using Windows 64bit os.

 

Did you take my code? Have you tested that the function keeps the VI on top even if you try to bring on top a different window, such as a browser or the TestStand engine?

If you took my code and you have tested it as indicated, I really have no idea where I'm making the mistake. Have you got any advices?

 

Ricky
Italian Developer engineer
www.www.selt-sistemi.com
0 Kudos
Message 3 of 3
(2,379 Views)