• 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: detecting mouseDrag event in NSView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: detecting mouseDrag event in NSView


  • Subject: Re: detecting mouseDrag event in NSView
  • From: Andrew Farmer <email@hidden>
  • Date: Wed, 27 Sep 2006 09:00:26 -0700

On 27 Sep 06, at 04:44, sheen mac wrote:
Is there any way to detect mouse dragged event in NSView.
I used the mouseDragged event but it is not working.

In light of your other question, do note that mouseDragged is sent when the mouse is clicked, then dragged within the view, not when a file is dragged and dropped into it.

Drag and drop of files is handled separately; you may want
to read Apple's "Drag And Drop Programming Topics For Cocoa"
(which is available on your machine) for details on how to
implement it in your application.
_______________________________________________
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


References: 
 >detecting mouseDrag event in NSView (From: sheen mac <email@hidden>)

  • Prev by Date: Background Application Receiving Keyboard/Mouse Events
  • Next by Date: Re: Notification when changes occur to an array?
  • Previous by thread: Re: detecting mouseDrag event in NSView
  • Next by thread: Using DiskArbitration framework in a Cocoa application
  • Index(es):
    • Date
    • Thread