Re: Avoiding flicker when dropping in a view
Re: Avoiding flicker when dropping in a view
- Subject: Re: Avoiding flicker when dropping in a view
- From: Gregg Witmer <email@hidden>
- Date: Wed, 16 Mar 2005 10:32:08 -0500
When I start dragging a selected object, I stop displaying it in my drawRect:
method and let the drag-and-drop system handle drawing it in overlay.
Since you are dragging within the same view, you might do better to
not use the overlay or any drag callbacks.
Create an event loop in the view's -mouseDown: and update the object
location with the -mouseDragged: events. When you get the -mouseUp:
you are done.
Gregg
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden