I have a couple of linked sub-VIs, each with its own window. This seems to work fine, but the window of the currently active VI is always activated which makes it hard to change controls in other windows. Is there a way to keep the active VI's window from changing to the front every time the VI is called? Setting FrontPanel.IsTopmost to false doesn't seem to work. Any suggestions?
There is this set of VI's which make calls to Windows functions. These are some of the VI's, which include functions that may help you:
winutil.llb Window Management VIs Window Refnum (control) Not a Window Refnum Get Window Refnum.vi Get Window Name.vi Get Window Rectangle.vi Minimize Window.vi Maximize Window.vi Resize Window.vi Restore Window.vi Move Window.vi Rename Window.vi Hide Window.vi Show Window.vi Flash Title Bar.vi Move Window to Top.vi Make Window Always on Top.vi Revoke Window Always on Top.vi Move Window to Bottom.vi
You can obtain these utilities from NI website. However, for some reason I've been unable to find the official page from where you can download those VI's. Fortunatelly, I found them in t he following page: