Display vs. LockFocus and draw
Display vs. LockFocus and draw
- Subject: Display vs. LockFocus and draw
- From: Marco Binder <email@hidden>
- Date: Mon, 29 Jul 2002 23:17:11 +0200
Hello everyone,
Another question... And let me apologize right away for 1) being kind of a
newbie and 2) preferring Java...
My question: what does NSView.display() do more than
NSView.lockFocus();
NSView.draw();
NSView.unlockFocus();
?
The problem is, that when I want to do drawing while dragging inside a view,
nothing will appear on the screen unless I send a display() message (or it9s
even enough to give a NSView.displayWhenNeeded() ).
Can I invoke myself whatever display() invokes in order to update the
screen?
Thanks for help,
marco
_______________________________________________
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.