Check out our User Interface Code Repository Files or visit the LabVIEW Wiki User Interface Portal
Tags |
(This content has not been tagged yet)
|
![]() |
Apr 11 2006, 10:09 AM
Post
#1
|
|||
|
Very Active Member Posts: 101 Joined: 10-April 06 Member No.: 4703 Using LabVIEW Since:2003 LV:8.5 ,8.2.1 ,7.1
|
Anybody knows how to hide/show application's task bar at windows bar ? thanks in advance
-------------------- Best Regards!
|
||
|
|
|||
| Ad |
Apr 11 2006, 10:09 AM
Post
#
|
||
|
|
|
||
|
|
|||
Apr 11 2006, 12:13 PM
Post
#2
|
|||
![]() Extremely Active Member Posts: 262 Joined: 26-January 05 Member No.: 1450 Using LabVIEW Since:2000 LV:8.5 ,8.20 ,7.1.1
|
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
|
||
|
|
|||
Apr 11 2006, 07:04 PM
Post
#3
|
|||
|
Very Active Member Posts: 64 Joined: 16-September 04 From: munich (erding) Member No.: 688 Using LabVIEW Since:2000 LV:7.1 ,8.0 ,7.0
|
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 This post has been edited by FLX: Apr 11 2006, 07:07 PM
|
||
|
|
|||
Apr 12 2006, 06:30 AM
Post
#4
|
|||
|
Very Active Member Posts: 101 Joined: 10-April 06 Member No.: 4703 Using LabVIEW Since:2003 LV:8.5 ,8.2.1 ,7.1
|
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 @! -------------------- Best Regards!
|
||
|
|
|||
Apr 12 2006, 07:31 AM
Post
#5
|
|||
|
<customize this text> Premium Member ![]() Posts: 1060 Joined: 9-April 04 From: Rotterdam Member No.: 349 Using LabVIEW Since:1992 LV:8.5.1 ,8.2.1 ,7.1.1
|
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
|
||
|
|
|||
Apr 12 2006, 08:31 AM
Post
#6
|
|||
|
Very Active Member Posts: 101 Joined: 10-April 06 Member No.: 4703 Using LabVIEW Since:2003 LV:8.5 ,8.2.1 ,7.1
|
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,
Attached image(s)
-------------------- Best Regards!
|
||
|
|
|||
Apr 12 2006, 08:47 AM
Post
#7
|
|||
![]() Extremely Active Member Posts: 262 Joined: 26-January 05 Member No.: 1450 Using LabVIEW Since:2000 LV:8.5 ,8.20 ,7.1.1
|
Here you have an example, it works.
Saludos, Aitor
Attached File(s)
|
||
|
|
|||
Apr 12 2006, 09:17 AM
Post
#8
|
|||
|
Very Active Member Posts: 101 Joined: 10-April 06 Member No.: 4703 Using LabVIEW Since:2003 LV:8.5 ,8.2.1 ,7.1
|
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.
Attached File(s)
-------------------- Best Regards!
|
||
|
|
|||
Apr 12 2006, 09:31 AM
Post
#9
|
|||
![]() Extremely Active Member Posts: 262 Joined: 26-January 05 Member No.: 1450 Using LabVIEW Since:2000 LV:8.5 ,8.20 ,7.1.1
|
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
|
||
|
|
|||
Apr 13 2006, 12:36 AM
Post
#10
|
|||
|
Very Active Member Posts: 101 Joined: 10-April 06 Member No.: 4703 Using LabVIEW Since:2003 LV:8.5 ,8.2.1 ,7.1
|
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 LabVIEW 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. -------------------- Best Regards!
|
||
|
|
|||
![]() ![]() |
| Time is now: 9th January 2009 - 01:56 AM |