• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Broken "Quit" menu item in modal dialogs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Broken "Quit" menu item in modal dialogs


  • Subject: Broken "Quit" menu item in modal dialogs
  • From: "Mark A. Stratman" <email@hidden>
  • Date: Mon, 26 Apr 2004 22:43:16 -0500

When I run various modal dialogs, the application menu is automatically changed to a different one with less menu items.

The problem is that there is a File->Quit menu item, and it is enabled but doesn't work.
When you choose "Quit", it logs the message
"CocoaDialog[4790] could not find associated NSMenu for -20213 (item:9)"

How would I go about getting this menu item? I'd like to either disable it, or giving it an action.

For what it's worth, the application is kind of hacky in that it has a MainMenu.nib with no primary NSWindow. The controller displays a modal dialog based on commandline options. Perhaps this has something to do with it?

I'm not sure that I've given enough info to make this problem clear - so if not, just ask.
Or if you have the time, you can download it from http://cocoadialog.sf.net to see what I'm talking about.

Thanks,
Mark A. Stratman
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Prev by Date: Re: NSOpenPanel and JPG files
  • Next by Date: Re: NSOpenPanel and JPG files
  • Previous by thread: Cocoa bindings: How to display validation-corrected value in NSTextField
  • Next by thread: NSBezierPath containsPoint question
  • Index(es):
    • Date
    • Thread