Page 1 of 1

How to add a topic to the application menu?

Posted: Mon Aug 01, 2005 4:27 pm
by Kale
In MacOSX each app has an application menu named after the app itself and it usually contains stuff like ABout/Services/Hide App/Quit etc..

how can i add commands to this menu as it is not a PB user created menu?

The MacOS PB IDE does include commands in this menu, Freak, HELP!!!! :twisted:

Posted: Tue Aug 02, 2005 10:44 am
by Fred
Each application created has this menu created automatically (just test will a small example). To add the 'Quit', 'About' and 'Preferences' menu item, you can use the following constants for the MenuItem() command:

#PB_Menu_Quit, #PB_Menu_About and #PB_Menu_Preferences

Posted: Tue Aug 02, 2005 1:45 pm
by Kale
thanks... thought i read that somewhere but couldn;t find it again :oops:

Posted: Tue Aug 02, 2005 2:56 pm
by Fred
Was probably in one of the beta annoucement post. It's written in the forthcoming doc tough, don't worry :)