• 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: Autoscrolling in NSDraggingDestination
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Autoscrolling in NSDraggingDestination


  • Subject: Re: Autoscrolling in NSDraggingDestination
  • From: Kyle Sluder <email@hidden>
  • Date: Tue, 05 Feb 2013 17:31:28 -0800

On Tue, Feb 5, 2013, at 03:39 PM, Graham Cox wrote:
> I need to autoscroll my view when I'm handling -draggingUpdated: but
> -autoscroll: takes an NSEvent and I don't have one. I thought I could use
> [myWindow currentEvent] but that doesn't seem correct for the dragging
> session.

Why not? If you want to be safe, you can ask the current event if it is
a mouse event.

(Ideally, the method would be -draggingUpdated:forEvent:…)

--Kyle Sluder

_______________________________________________

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: Autoscrolling in NSDraggingDestination
      • From: Graham Cox <email@hidden>
References: 
 >Autoscrolling in NSDraggingDestination (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: Close box not showing as dirty when the doc says it's dirty
  • Next by Date: Re: Autoscrolling in NSDraggingDestination
  • Previous by thread: Autoscrolling in NSDraggingDestination
  • Next by thread: Re: Autoscrolling in NSDraggingDestination
  • Index(es):
    • Date
    • Thread