• 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
Creating a window without IB
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Creating a window without IB


  • Subject: Creating a window without IB
  • From: Vincent Coetzee <email@hidden>
  • Date: Thu, 5 Feb 2004 17:44:12 +0200

Hi there

I am attempting to programatically create an NSWindow. I am performing the following steps

NSWindow alloc init initWithContentRect:styleMask:backing:defer: and then

orderFront

I receive the following error

2004-02-05 17:39:18.588 Jacaranda[5648] An uncaught exception was raised
2004-02-05 17:39:18.588 Jacaranda[5648] Error (1007) creating CGSWindow
2004-02-05 17:39:18.588 Jacaranda[5648] *** Uncaught exception: <NSInternalInconsistencyException> Error (1007) creating CGSWindow

Anyone have any ideas ? (BTW Cocoa has been initialized since I already have another window open !)

Thanks

Vincent
_______________________________________________
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: Creating a window without IB
      • From: j o a r <email@hidden>
    • Re: Creating a window without IB
      • From: Vincent Coetzee <email@hidden>
  • Prev by Date: Re: Converting Japanese C- string to NSString
  • Next by Date: Re: Creating a window without IB
  • Previous by thread: ANN: Pittsburgh area Cocoa Users Group Meeting
  • Next by thread: Re: Creating a window without IB
  • Index(es):
    • Date
    • Thread