• 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
Re: I would like to drag a view in real time
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >I would like to drag a view in real time (From: sunil <email@hidden>)

  • Prev by Date: I would like to drag a view in real time
  • Next by Date: Re: handling of huge bitmaps, incremental saving?
  • Previous by thread: I would like to drag a view in real time
  • Next by thread: usingCache:YES doesn't.
  • Index(es):
    • Date
    • Thread