• 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: Mouse Drag Ignore.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mouse Drag Ignore.


  • Subject: Re: Mouse Drag Ignore.
  • From: Sandro Noël <email@hidden>
  • Date: Tue, 11 May 2010 14:50:56 -0400

On 2010-05-11, at 2:09 PM, Seth Willits wrote:

> On May 11, 2010, at 10:46 AM, Sandro Noël wrote:
>
>> ok, now, the drag operation happens in the window controller.
>> as long as I do not have an item vie inserted into the items view i can drag anywhere on the window.
>> as soon as I have a NSImageView in there the drag operation pauses for the time that the mouse is over the NSImageView
>> any pixel space between the items resumes drag feedback.
>
> I don't understand what you're trying to say here...
>


the window is registered for drag types.registerForDraggedTypes

the window contains the content view, ( that's standard )
the content view contains the decoration view (custom frame) and the item's view (kind of a list view)
the item's view contains and draw's the item view in it's frame.
the item view contains an image.

the image in the item view seems to be hogging the mouse when the mouse is over it
which sends the draggingExited notification to the window

when the mouse exist the image rect, the window receives another draggingEntered notification
and the draggingUpdated notification is fired again and i can track the coordinates of the mouse.


Hopefully this is more clear.

Regards.
Sandro

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Mouse Drag Ignore.
      • From: Seth Willits <email@hidden>
References: 
 >Mouse Drag Ignore. (From: Sandro Noël <email@hidden>)
 >Re: Mouse Drag Ignore. (From: Seth Willits <email@hidden>)

  • Prev by Date: Re: Mouse Drag Ignore.
  • Next by Date: Re: Mouse Drag Ignore.
  • Previous by thread: Re: Mouse Drag Ignore.
  • Next by thread: Re: Mouse Drag Ignore.
  • Index(es):
    • Date
    • Thread