• 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 19:01:02 +0200

Hi there

Thanks for the information, where are these error codes available, I spent quite some time searching to no avail ?

Thanks

Vincent

On Feb 05, 2004, at 18:41, Mike Paquette wrote:

Error 1007 is kCGErrorRangeCheck. The most likely cause of this error in creating a new window is a request for an unusually large window. (One so large that the window buffer will not fit in available virtual memory).

You might check the size of the rectangle you you have specified for the window.

Other causes can include specifying an unsupported window depth or similar out-of-range properties.

Mike Paquette

On Feb 5, 2004, at 7:44 AM, 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: Re: Prevent ComboBox from dragging
  • Next by Date: Re: Converting Japanese C- string to NSString
  • Previous by thread: Re: Creating a window without IB
  • Next by thread: Prevent ComboBox from dragging
  • Index(es):
    • Date
    • Thread