• 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: slow autoscroll near edge of screen
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: slow autoscroll near edge of screen


  • Subject: Re: slow autoscroll near edge of screen
  • From: "Simon Strandgaard" <email@hidden>
  • Date: Wed, 11 Oct 2006 18:30:24 +0200

On 10/11/06, Simon Strandgaard <email@hidden> wrote:
[snip]
Any ideas on how to read relative-mouse-movements?


Ok. I did'nt check the plug.. NSEvent knows this

-(void)mouseDragged:(NSEvent*)event {
	float dx = [event deltaX];
	float dy = [event deltaY];
	NSLog(@"mouse dragged %.2f %.2f\n", dx, dy);
}




I am still attempting to get autoscroll working. Should I make my own NSEvent where i insert some fake mouse-location, and pass this event to autoscroll ?

--
Simon Strandgaard
_______________________________________________
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: 
 >slow autoscroll near edge of screen (From: "Simon Strandgaard" <email@hidden>)
 >Re: slow autoscroll near edge of screen (From: "Simon Strandgaard" <email@hidden>)

  • Prev by Date: Using CoreData as disconnected cache (Populating CoreData programmatically)
  • Next by Date: AttributedString drawing
  • Previous by thread: Re: slow autoscroll near edge of screen
  • Next by thread: NSSearchField and Core Data Problem
  • Index(es):
    • Date
    • Thread