How do I hide the dock and menu completely

Hi there.

Quick question… just like my last one (ha ha).

I am trying to have a complete full screen. No menu bar, no dock.

When I set the window menubar to NONE, and in the app set the menubar to NIL

app.menubar = NIL

In all of the windows, Document and Sheet style, I set it to NONE in the

Menus -> Menu Bar -> NONE

and the File / Edit… etc will go away. But I still see the program menu bar. The same with the Dock.

I have gone through the threads I could find, and people are doing things like calling NSUI… stuff, but I am not that great programmer to use the NS stuff.

Any ideas?

Regards

Set the window to FullScreen

1 Like

Thank you for the response.

However setting the window(s) (i have 3) to fullscreen in the IDE does not remove the menubar or dock.

Regards

Copy/Paste the following in Google and good luck:

XCode: How do I hide the dock and menu

the page does not appears in dark mode / I cannot really read it, but as far as I understand, they expose the macOS command to hide the MenuBar and the Dock.
You “only” need to translate it to Xojo Declare.

@Michael_Cebasek - is there a particular platform you’re aiming for?

Hi Greg.

My OS is Mac Sonoma. 14.6.1
My computer is a 2020 macbook air.

Regards

Yes, but are you only compiling for macOS, or are you looking for a solution for Windows and/or Linux as well?

Hi Greg.

Currently I am NOT looking for Windows or Linux. Just Mac.

Regards