Hi Everyone,
This days, I meet a strange thing: The exe created by LabVIEW might be no-acitve status anytime when my customer use it to get current data from 6485 and product SN from a Bar code scanning gun then recording data by NPIO .Unfortunately I have a long time business travel.
My customer ask me to solve it -- he does not like using mouse to click the exe to active it.
Hence I want to use winapi detect my UI's status and make it activity.But it does not work well ....
Thanks.
Add:
When I click the desktop , the front panel will be as this status.The problem is that I still can't input keyboard.
Another: I find that the focuse threat should be the UI THREAT ,But I can't get this vi's threat by GetCurrentThreat().
WindowSet.vi Test.vi