Home Technical Talk

how to toggle on&off the menu bar in 3dsmax

polycounter lvl 15
Offline / Send Message
CodeFather polycounter lvl 15
How to toggle the menu bar on and off via maxscript. In max 2010 there is a "hide menu bar" option under the quick access toolbar, but it is not exposed anywhere else. I've searched the whole customize user interface , but couldn't find it.
The thing is that I'm using this code(don't remember where I've found it, probably here at polycount):

(
(
val = trackbar.visible
trackbar.visible = not val
timeSlider.setVisible (not val)
statusPanel.visible = not val
)
)

It turns off the status bar, the trackbar and the time slider, leaving the bottom of the interface free. How to expand this script further by hiding the Main Toolbar and the Menu bar too ?

Replies

Sign In or Register to comment.