PDA

View Full Version : Application menu quit item in OSX


monteboyd
2002.06.17, 08:05 PM
Under OSX my app automatically gets given a quit option under the application menu (the one next to the apple menu). Since I am not using Carbon Events this menu item doesn't actually do anything, is there any way I can either turn it off or find out when a user selects it without using Carbon Events. I could use Carbon Events to do it but I'm hoping there is a simpler way.

OneSadCookie
2002.06.17, 08:38 PM
Carbon Events are simpler :P

Sorry, no idea. Don't remove it though, you'd be breaking the HI guidelines.

RedWolf
2002.06.18, 12:08 AM
Have you installed a Quit Apple Event handler? See pages 76-77 of the Carbon Porting Guide (Dec 2000) for more info.

monteboyd
2002.06.18, 06:08 PM
Thanks RedWolf, the info on those pages of the Carbon Porting Guide were exactly what I needed.