• 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
Modal window help
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Modal window help


  • Subject: Modal window help
  • From: Bill Houston <email@hidden>
  • Date: Mon, 16 Feb 2004 13:23:31 -0800

I am trying to run an NSWindow created in InterfaceBuilder as a modal window
using runModalForWindow.
When I execute the application I get the following runtime error message:
"Uncaught exception: <NSInternalInconsistencyException> Modal session
requires modal window"

I have tried setting my window level to modal:
[window setLevel: NSModalPanelWindowLevel];
Before calling:
[NSApp runModalForWindow:window];
but it didn't help.

Can anyone tell me where to look for help with this problem?

Thanks,
Bill
_______________________________________________
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.

  • Follow-Ups:
    • Re: Modal window help
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: creating an NSImage from an NSMovie
  • Next by Date: mamsam list archive is corrupted!
  • Previous by thread: Re: creating an NSImage from an NSMovie
  • Next by thread: Re: Modal window help
  • Index(es):
    • Date
    • Thread