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

Re: Creating a window without IB


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

Sorry that should read

NSWindow alloc initWithContentRect:styleMask:backing:defer: orderFront:

On Feb 05, 2004, at 17:44, Vincent Coetzee wrote:

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.
_______________________________________________
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: 
 >Creating a window without IB (From: Vincent Coetzee <email@hidden>)

  • Prev by Date: Creating a window without IB
  • Next by Date: Prevent ComboBox from dragging
  • Previous by thread: Creating a window without IB
  • Next by thread: Re: Creating a window without IB
  • Index(es):
    • Date
    • Thread