LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Disguised Windows task bar if executable is running.

Hi,

I configured my vi in such a way that the Windows task bar is disguised while the vi is running. However, after I built an executable with the application builder, the Windows task bar remains visible while the exe is running. Why's that? How can I make the Windows task bar to vanish if the executable is running? I'd like to have the full screen modus, if the program runs.

Thanks,
Peter
0 Kudos
Message 1 of 13
(4,785 Views)
Whatdo you mean "configured my vi in such a way that the Windows task bar is disguised"? Did you go into "VI properties" (right click on the vi's icon), select "Window appearance", "Customize" and unchecked the various selections like "window has title bar", etc.? That should remove the toolbar, even in the exe version, although I will check that when I am back on my machine that has the application builder.


Putnam Monroe
Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



0 Kudos
Message 2 of 13
(4,764 Views)
You can programmatically hide the taskbar. Checkout G Toolbox at:
http://gtoolbox.yeah.net
George Zou
0 Kudos
Message 3 of 13
(4,757 Views)
Hi Putnam,

yes, you understood correctly. I configured the vi in the "vi properties" menu, as you assumed. If I start the vi, the program behaves as desired, i. e., the Windows task bar is disguised. The executable which I generated using the Application Builder, however, does not hide the task bar when running.

Do you see the same effect on your system?

Thanks,
Peter
0 Kudos
Message 4 of 13
(4,750 Views)
I'm not seeing the title bar when I run an exe in which it was removed in configuring the windows appearance. When you are building the application, check the settings under "VI settings" to make sure that they agree with what you configured in the vi itself.

I built a very simple vi and when it runs there is a borderless frontpanel (see attached)


Putnam Monroe
Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



0 Kudos
Message 5 of 13
(4,742 Views)
I believe he meant the windows taskbar. You can hide it by calling the windows API (although the attached example only leaves a blank area in its place).

___________________
Try to take over the world!
Message 6 of 13
(4,738 Views)
He does say "Windows taskbar" doesn't he. I wasn't very good at "word problems" in school! Always reading too fast and using my own preconceptions!


PM
Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



0 Kudos
Message 7 of 13
(4,733 Views)
I am not sure I understand. Do you want to hide the entire Windows Task bar like in the above example, or do you just want to make it so that the LabVIEW exe doesn't show up in the Task bar while it is running.

If it is the second add this line to your executables ini file.
hiderootwindow=true
0 Kudos
Message 8 of 13
(4,721 Views)
I am not sure if I completetly understand your application. If you want to hide the entire windows task bar then use the above example.

However, if you just want it so that the executable doesn't show up in the task bar add this line to the Executables ini file.
hiderootwindow=true
0 Kudos
Message 9 of 13
(4,723 Views)
Evan, tst,

the example of tst is very close to that what I am looking for. My desire is very simple: After the PC has been booted by Windows, the executable shall start to run automatically (via Autostart). The user shall not see the Windows task bar. Only the user interface of the executable program shall be visible.

Unfortunately, in the example of tst, the task bar vanishes but leaves a blue stripe at the bottom. How can I maximize the window of the application to the full screen height afterward?

Well, to put it even in simplier words: I want the executable program to run in a "full-screen modus". Nothing shall be visible from Windows behind the scene.

You know all these image browsers like Irfanview. "Enter" yields the full-screen modus, "Esc" brings you back to the view with visible Windows taskbar. Any idea how to do that with LabVIEW?

Have a nice weekend!
Peter
0 Kudos
Message 10 of 13
(4,716 Views)