• 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-opening OpenGLView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re-opening OpenGLView


  • Subject: Re-opening OpenGLView
  • From: Charles Brokaw <email@hidden>
  • Date: Fri, 11 Oct 2002 09:25:00 -0700

My application has an auxilary window with a subclassed NSOpenGLView. The first time I open it, it works fine. If I close and reopen, it acts instead like an ordinary view, and accepts and shows Quartz drawing commands. If I use the debugger to stop inside my drawRect, it still shows that the openGLview has the same context, with the same designated view. Same with or without double buffering.
The only clue I have is that if I put an initWithCoder method in my subclass, it is called the first time I open the window, but not with subsequent openings.
_______________________________________________
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: Re-opening OpenGLView
      • From: Brent Gulanowski <email@hidden>
  • Prev by Date: Re: How to not open a new document at app start up (init NSDocument or NSWindowController ?)
  • Next by Date: Re: NSTextView, NSTextStorage, NSParagraph and lineHeight
  • Previous by thread: Re: How to not open a new document at app start up (init NSDocument or NSWindowController ?)
  • Next by thread: Re: Re-opening OpenGLView
  • Index(es):
    • Date
    • Thread