Cool-LV Posted April 11, 2006 Report Share Posted April 11, 2006 Anybody knows how to hide/show application's task bar at windows bar ? thanks in advance Quote Link to comment
Aitor Solar Posted April 11, 2006 Report Share Posted April 11, 2006 IIRC, when a front panel has both "allow user to resize window" and "allow user to minimize window" options disabled, it has no taskbar button (maybe the same happens if its modal, I don't remember). If you want to get rid of the LabVIEW taskbar button too, use "HideRootWindow=True" in the application .ini file. To have the taskbar button back, just change those options dinamically through a VI Server call (FP.Resizeable and FP.Minimizeable). Hope that helps Quote Link to comment
FLX Posted April 11, 2006 Report Share Posted April 11, 2006 IIRC, when a front panel has both "allow user to resize window" and "allow user to minimize window" options disabled, it has no taskbar button Hi, If I remember correctly, only the minimize window option is responsible for a visible task bar button. alex Quote Link to comment
Cool-LV Posted April 12, 2006 Author Report Share Posted April 12, 2006 Hi,If I remember correctly, only the minimize window option is responsible for a visible task bar button. alex Thanks all, I already know how to hide root window bar, but I want to hide both of them, root window bar and main window bar, disable "allow user to resize window" and "allow user to minimize window" options can hide applications task bar ? I don't think so. en, would you kindly help to make a simple sample for me ? many thanks @! Quote Link to comment
Rolf Kalbermatter Posted April 12, 2006 Report Share Posted April 12, 2006 Thanks all, I already know how to hide root window bar, but I want to hide both of them, root window bar and main window bar, disable "allow user to resize window" and "allow user to minimize window" options can hide applications task bar ? I don't think so. But it is the case! The Windows extended properties for a window determine if the window will have a taskbar button or not. And I do not see why you couldn't make this test yourself. It is really simple and asking for a ready made example sounds a little like a HH (homwork hustler). Rolf Kalbermatter Quote Link to comment
Cool-LV Posted April 12, 2006 Author Report Share Posted April 12, 2006 But it is the case! The Windows extended properties for a window determine if the window will have a taskbar button or not. And I do not see why you couldn't make this test yourself. It is really simple and asking for a ready made example sounds a little like a HH (homwork hustler).Rolf Kalbermatter rolfk. I have tested, and made it yet, that I cann't achieve that function which I mentioned, before call this help. mention again, my hide bar is my program's task bar ! see enclosed rolfk. I have tested, and made it yet, that I cann't achieve that function which I mentioned, before call this help. mention again, my hide bar is my program's task bar ! see enclosed Sorry all, Yes it can, as disable "allow user to resize window" and "allow user to minimize window" options can hide task bar, I don't know why couldn't just now. maybe I missed to disable "allow user to minimize window" options Quote Link to comment
Aitor Solar Posted April 12, 2006 Report Share Posted April 12, 2006 Here you have an example, it works. Saludos, Aitor Download File:post-1450-1144831619.zip Quote Link to comment
Cool-LV Posted April 12, 2006 Author Report Share Posted April 12, 2006 Here you have an example, it works.Saludos, Aitor thanks Aitor Solar, See my sample, the vi can hide the task bar firstly running, as I press hide window, the bar is showing ? why ? cann't hide it again. Download File:post-4703-1144833432.vi Quote Link to comment
Aitor Solar Posted April 12, 2006 Report Share Posted April 12, 2006 thanks Aitor Solar, See my sample, the vi can hide the task bar firstly running, as I press hide window, the bar is showing ? why ? cann't hide it again. Not sure, but probably a minimized state prevents a VI being un-minimizeable, sounds logical. If you want to minimize and not to have a taskbutton (that is, the VI to dissapear from view), just use the "hidden" FP state, is much simpler. Saludos, Aitor Quote Link to comment
Cool-LV Posted April 13, 2006 Author Report Share Posted April 13, 2006 Not sure, but probably a minimized state prevents a VI being un-minimizeable, sounds logical. If you want to minimize and not to have a taskbutton (that is, the VI to dissapear from view), just use the "hidden" FP state, is much simpler.Saludos, Aitor Aitor Solar, Thanks for your reply, if LV prevents a VI being un-minimizeable, as open the block diagram, and run the VI the status is the same, Hidden FP ? no, I want to show FP for user, and the FP hasn't title bar, menu bar, tool bar, just a pure FP, and no task bar. and I will use "System tray" to restore window status. Quote Link to comment
Bjarne Joergensen Posted November 22, 2012 Report Share Posted November 22, 2012 Hi When you install a program it creates an ini file with the same name as the program name. How do I add"HideRootWindow = True" to this ini file, so it should not be done manually after installation? I've been looking high and low in application builder without being able to find it. I use LV2012 regards Bjarne Quote Link to comment
Bjarne Joergensen Posted November 22, 2012 Report Share Posted November 22, 2012 Hi When you install a program it creates an ini file with the same name as the program name. How do I add"HideRootWindow = True" to this ini file, so it should not be done manually after installation? I've been looking high and low in application builder without being able to find it. I use LV2012 regards Bjarne EDIT: I found it under "Advance" Quote Link to comment
Yair Posted November 22, 2012 Report Share Posted November 22, 2012 Bjarne, I would also suggest voting for this idea, so that NI fixes the problem if it still exists: http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Get-rid-of-the-second-LabVIEW-window/idi-p/1444130 Quote Link to comment
Freek van Uittert Posted November 13, 2015 Report Share Posted November 13, 2015 You can also use the VI property node FP.PanelBounds. Set them to the size of your display and the taskbar disappears. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.