LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Get Current Active Window

Solved!
Go to solution

You want the active window, but you are calling the GetForegroundWindow.  Why not calling the GetActiveWindow?

Foreground window ≠ active window.

Foreground window may belong to another application; while active window belongs to the same application.

 

 

George Zou
0 Kudos
Message 11 of 12
(721 Views)

Sorry, I meant foreground window. 🙂

Christopher Povey

Principle Test Systems Engineer for BAE Systems.
0 Kudos
Message 12 of 12
(713 Views)