12-05-2017 02:42 AM
12-05-2017 02:45 AM
Hi Asif,
as you apparently read Blokk's link you should have seen this part of the text:
Solution: If you use the functions GetForegroundWindow and SetForegroundWindow in the User32.dll located in C:\WINDOWS\system32, the Front Panel is set in front of all desktop windows.
These are CLF nodes ("Call Library Function")…
12-05-2017 02:54 AM
really i dont know how to do that.
i can see user32.dll file in that location.but how to use it as that snip..
12-05-2017 02:58 AM
I do not want to be mean or anything, but you could really try to do some effort, and use google search, LabVIEW help, LabVIEW tutorials, etc... 😉
http://zone.ni.com/reference/en-XX/help/371361P-01/glang/call_library_function/
12-05-2017 04:05 AM
12-05-2017 04:32 AM
I tried the official NI example VI, it does not work for me. I have also found this: http://www.labvolution.com/labview-making-a-window-active/
Neither works. I have no time to experiment with these codes now, I might test more later...
12-05-2017 05:15 AM
Actually this example works, I had a typo only: http://www.labvolution.com/labview-making-a-window-active/
Download the example VI, and set the name input the same as the VI's name: "Window to Front.vi".
Here is a snippet too (I also attached the example VI):
12-05-2017 11:42 PM
it is working, but some time it automatically maximized but not be on top of all window.
Thanks,
12-05-2017 11:48 PM
@Asif138 wrote:
it is working, but some time it automatically maximized but not be on top of all window.
Thanks,
For me my example VI works 100%. Can you reproduce the problem, and attach your VI or snippet? How often it does not come to foremost, top of all windows?
12-06-2017 03:10 AM
i am running same your VI in my PC..