• 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
Re: NSRunAlertPanel-not working?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSRunAlertPanel-not working?


  • Subject: Re: NSRunAlertPanel-not working?
  • From: Daniel Todd Currie <email@hidden>
  • Date: Mon, 16 Feb 2004 19:15:51 -0800

One of those nils needs to have the text for your "OK" button. What you have here would try to bring up an alert panel with no buttons, and I'm guessing OSX won't allow that.


On 2004 Feb 16, at 18:50, James McConnell wrote:

int choice = NSRunAlertPanel(@"Empty field", @"Please enter a value.", nil, nil, nil);
_______________________________________________
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.

References: 
 >NSRunAlertPanel-not working? (From: James McConnell <email@hidden>)

  • Prev by Date: Re: NSTableView/NSPopUpButtonCell Mysteries
  • Next by Date: Re: NSImage and flipping
  • Previous by thread: NSRunAlertPanel-not working?
  • Next by thread: Re: NSRunAlertPanel-not working?
  • Index(es):
    • Date
    • Thread