Forum > Cocoa
How to get the usual menu items in the first menu
Clemens:
Hi!
Another question. On OS X, the second menu (next to the Apple menu) always has the name of the program and contains items such as "About", "Services", "Hide" etc., "Quit".
When I add a TMainMenu, the name of the first menu is overwritten by the program name (good), but I don't get the usual menu items. How can I get the "Hide" etc. items?
Cheers,
Clemens
Phil:
https://dl.dropboxusercontent.com/u/28343282/MacXPlatform/MacXPlatform_Part8.html
Clemens:
Great, thanks! :) Looks very useful, I am working through it.
By the way, how can I implement "Hide" and "Hide others"? Is there a library function to call?
Cheers,
Clemens
Phil:
The app menu's Hide AppName and Hide Others should already be present. See Lazarus IDE.
Clemens:
I see. I am using Cocoa, probably that's why I don't have the "Hide *" items.
Yes, in Lazarus the app menu looks very OS X like.
Navigation
[0] Message Index
[#] Next page