• 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
Can't open drawer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Can't open drawer


  • Subject: Can't open drawer
  • From: Peter Robinson <email@hidden>
  • Date: Thu, 13 Feb 2003 13:11:16 +0000

I am having trouble opening an NSDrawer. As far as I can tell, there is nothing wrong with the drawer object. It's loaded from a nib, and its parentWindow, delegate, contentView and state are as expected.

Calling -toggle: or -open gives the error message
_NXCreateWindow: error creating window (1007)
and the drawer isn't displayed.

Setting a breakpoint in _NXCreateWindow doesn't reveal anything unexpected: there are only system routines in the stack after my call to -open.

Occasionally, and as far as I can tell, randomly, I don't get the error message and the drawer can then be opened and closed for the lifetime of my application.

What could be causing this error?

Peter
_______________________________________________
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: NSTableView modifications
  • Next by Date: Re: Creating Menu Items Programmatically.
  • Previous by thread: Re: NSTableView modifications
  • Next by thread: text view drawing upside down... HELP!
  • Index(es):
    • Date
    • Thread