[SOLVED]: My NSQuicktimeView shows up.. once... D'oh!
[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.