Re: I would like to drag a view in real time
Re: I would like to drag a view in real time
- Subject: Re: I would like to drag a view in real time
- From: Scott Anguish <email@hidden>
- Date: Tue, 30 Dec 2003 04:01:01 -0500
On Dec 30, 2003, at 3:46 AM, sunil wrote:
>
Hi All,
>
>
I would like to drag a view in real time. For this i am making
>
an image of view and dragging that image. But it takes some time to
>
convert the view into image meanwhile user mouse drag location may be
>
at some where. So can we restrict the user from being dragged away
>
without completing the image conversion. or can we make this
>
conversion faster?
>
>
if anybody can help please kindly send in a reply
>
you should be able to just grab the contents of the window in an
NSImage and use that as the drag image. that should be almost
instantaneous.
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.