• 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
[SOLVED]: My NSQuicktimeView shows up.. once... D'oh!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SOLVED]: My NSQuicktimeView shows up.. once... D'oh!


  • Subject: [SOLVED]: My NSQuicktimeView shows up.. once... D'oh!
  • From: Lance Drake <email@hidden>
  • Date: Wed, 10 Dec 2003 05:52:14 -0700

Well - I should write to this list more often. No sooner did I post the note about my mysterious vanishing NSQuickdrawView than I found the problem.

CGrafPtr thePort = [self qdPort];
SetPortWindowPort( [mParentWindow windowRef] );
QDBeginCGContext( thePort, &context );
...
...
QDEndCGContext( GetWindowPort( mWindow ), &context );

The fix consisted of calling 'QDBeginCGContext' with the SAME port as with which it was opened... [self qdPort]... D'OH!

D'OH!

Lance Drake
_______________________________________________
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: Problem with com.apple.systempreferences.plist
  • Next by Date: Re: Xcode style deployment: debug-symbols?
  • Previous by thread: Problem with com.apple.systempreferences.plist
  • Next by thread: How Do I kill a process from Cocoa?
  • Index(es):
    • Date
    • Thread