LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Make application's window focus after buried under stack of different applications

Hi. Is there a way to make the application or vi's window become focus after being buried under stack of different applications?
I know we make window focus by programmatically or events.
I noticed that it can work only if the window is under stack of the same kind ie, Labview. But it cannot work under stack of different programs ie Labview application or Vis under MS office, notepad or else.
 
How do we solve the problem?
 
regards,
Clement
0 Kudos
Message 1 of 11
(3,270 Views)
I am not very sure what you have asked, but what I understand is you want to get the focus to a lv window/application in presence of a stack of other applications running parallely. In other words, you want this particular vi to maintain the focus continuously. plz correct me if I am wrong.
0 Kudos
Message 2 of 11
(3,264 Views)
Yes, But not focus continously, Whenever, the acquisition and test is finished or there's an IO event ie; clamp open, the application's window will become focused by moving it's window to the top of the stack on the display.
 
Clement
0 Kudos
Message 3 of 11
(3,260 Views)
Hi, why don't you try using the attached vi. Hope it solves your purpose!!!
0 Kudos
Message 4 of 11
(3,254 Views)
Hi Would you make it a version 7.0? Thanks
Sorry forgot to say it earlier.
regards
Clement
0 Kudos
Message 5 of 11
(3,250 Views)
Hi find the vi in lv 7.0
0 Kudos
Message 6 of 11
(3,248 Views)

Hi This is not what I am looking for. This works just like mine. After running your vi, then I switched to IE, waiting for it to move to top of the stack.But it did not. Instead it cause blinking on the button "Labview" taskbar. It does not make the your window appear at the top by force.

Clement

0 Kudos
Message 7 of 11
(3,246 Views)
Download WinUtils32 from NI site. There are some interesting window positionning tools.
Hope this helps.
Chilly Charly    (aka CC)
0 Kudos
Message 8 of 11
(3,241 Views)

This works amazing!! thanks CC

by the way... Congratulations.

0 Kudos
Message 9 of 11
(3,238 Views)
Hi CC and TSreedhar,  I have WinUtils32 already and used it.
I used the VIs:- Get Windows Refnum.vi and Move Windows to Top.vi
But I still can't get it to top over the stack under different kinds. Only it's blinking on the taskbar
Is this normal or is this how the Win OS works like this?
Try placing IE page over this running attached, I have sent you.
 
Clement
0 Kudos
Message 10 of 11
(3,220 Views)