LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Application menu MAC OS

Hi,

 

I try to remove, disable or customize the application menu of my LabVIEW application on MAC OS X. Smiley Frustrated

 

Capture d’écran 2012-06-21 à 17.56.49.png

 

Have any idea to do this?

Cordialement,

Simon D.
CLA | Certified LabVIEW Architect
CTA | Certified TestStand Architect
0 Kudos
Message 1 of 6
(2,829 Views)

I have not looked recently but I think Apple has some minimum requirements on what must be in that menu and be functional.

 

Lynn

Message 2 of 6
(2,826 Views)

Can't do that.

 

MacOS requires each application has its own application menu.  There may be nothing in there (as defined by the application itself) leaving just the system's services/show/hide/quit items.... but the menu will always be there.

 

You may be able to bump the program into a "kiosk mode" (if that's what they still call it) where the application takes over the computer like Front Row/AppleTV does. 

Message 3 of 6
(2,817 Views)

And do you think I can intercept event from this menu?

 

My problem is the quit option of this menu. In my application I have instruments, and I need to make some stuff before quit the application

 

I don't know this "kiosk mode" I will look this

Cordialement,

Simon D.
CLA | Certified LabVIEW Architect
CTA | Certified TestStand Architect
0 Kudos
Message 4 of 6
(2,808 Views)

Have you tried the event loop and the Application Instance Close? event?

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
Message 5 of 6
(2,804 Views)

Perfect it works Smiley Happy

 

I use Application Instance Close? and it's generate when I click Quit or Quit and Close All Windows. The other items are not a problem (hide window).

 

So I leave this menu, but just discard the quit option and use mine instead.

 

Thanks Smiley Wink

Cordialement,

Simon D.
CLA | Certified LabVIEW Architect
CTA | Certified TestStand Architect
0 Kudos
Message 6 of 6
(2,799 Views)