I am using Mountain Lion and the Latest Beta.
Apple Preference menu
-
spacebuddy
- Enthusiast

- Posts: 364
- Joined: Thu Jul 02, 2009 5:42 am
Apple Preference menu
Anyone know how to remove or grey out the Apple preference menu?
I am using Mountain Lion and the Latest Beta.
I am using Mountain Lion and the Latest Beta.
- Mindphazer
- Enthusiast

- Posts: 528
- Joined: Mon Sep 10, 2012 10:41 am
- Location: Savoie
Re: Apple Preference menu
I don't know how to remove this item (not sure it's possible, as it's a default menu)
To grey out items of this menu, you have to :
create a menu, then use specifics constants with MenuItem, like this :
assuming window_0 is the handle of your window
You will see that the About.... item and the Preferences... item won't be grey anymore.
Note : these constants are not referenced in OS X version help of PB 5 beta, but there are in Windows version (!)
To grey out items of this menu, you have to :
create a menu, then use specifics constants with MenuItem, like this :
Code: Select all
If CreateMenu(#PB_Any,WindowID(window_0))
MenuItem(#PB_Menu_About,"")
MenuItem(#PB_Menu_Preferences,"")
EndIfYou will see that the About.... item and the Preferences... item won't be grey anymore.
Note : these constants are not referenced in OS X version help of PB 5 beta, but there are in Windows version (!)
MacBook Pro 16" M4 Pro - 24 Gb - MacOS 26.1 - Iphone 17 Pro Max - iPad at home
...and unfortunately... Windows at work...
...and unfortunately... Windows at work...