10-10-2010 04:00 PM
The title is not a very accurate description of what I'm trying to achieve - sorry...
I have two VI's that run with their Front Panel Shown. The main VI spawns the 2nd VI, which is a monitoring console.
Because the first VI (main) spawned the 2nd VI, the active window is the 2nd VI.
Because there are hot-keys associated with controlling the application, and the hot-keys belong to the 1st (main) VI, I would like to make the 1st VI the active window.
I thought there was an Invoke node to do this, but did not see it.
As badly as the title for this question is, so was my attempt at finding anything related to this by "Searching" this forum.
I wish I could post code, but I cannot.
I was thinking of implementing something crazy like focus binding to a control on the main VI via a reference, but somehow, I don't think that will work.
Any suggestions?
Solved! Go to Solution.
10-10-2010 04:10 PM
I'm pretty sure that this is a property node when you have scripting enabled. Just don't remember (too many properties in there)... {something was mentioned with z-direction...}
Alternatives:
- make it modal
- use win dll's, I'm sure there are implementations for this.
Felix
10-10-2010 09:25 PM
Thanks Felix,
Making it Modal did the trick.
🙂