We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSyntax Questions › Hide the principal menu bar
Page Index Toggle Pages: 1
Hide the principal menu bar (Read 1186 times)
Hide the principal menu bar
Sep 15th, 2009, 1:14pm
 

Hi,
I’m searching how to hide the principal menu bar, I’m working with another window that runs in maxMsp and I need to have both working; If I put processing in presentation mode, there is no way to show the max wimdow. If I use this mode:

public void init() {
 /// to make a frame not displayable, you can
 // use frame.removeNotify()
 frame.removeNotify();
 frame.setUndecorated(true);

 // addNotify, here i am not sure if you have  
 // to add notify again.  
 frame.addNotify();
 super.init();
}
//____________________________________________________
void setup(){
 size(1200,600, OPENGL);
 hint(DISABLE_OPENGL_2X_SMOOTH);
 frame.setLocation(50, 50);
 frameRate(30);


I can hide the bar of the window, but how can I hide the upper menu bar with the title of the  sketch?

Thanks a lot for the help
David
Re: Hide the principal menu bar
Reply #1 - Sep 15th, 2009, 2:16pm
 
I don't understand your question (what is your system?). A sketch has no menu bar, at best you can find a dropdown menu on the sketch icon in the title bar. At least on Windows.
Re: Hide the principal menu bar
Reply #2 - Sep 15th, 2009, 2:31pm
 
Sorry... I’m not english speaker.
I would like to hide the upper bar of the application; I have read that changing the LSUIPresentationMode inside info.plist I could make it, but now i have problems exporting the app.
My system is MacBook Pro Leopard 10.5.8; processing 1.0.6.

Thanks a lot for the help
David
Page Index Toggle Pages: 1