• 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
How to scroll an view using the hand metaphor?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to scroll an view using the hand metaphor?


  • Subject: How to scroll an view using the hand metaphor?
  • From: Shawn Erickson <email@hidden>
  • Date: Mon, 17 Feb 2003 18:57:28 -0800

I have a custom view, grouped under a scroll view, that I would like to scroll around using the hand (or grabber) metaphor. In other words when the user clicks and drags in my view I want the view to slide around in sync with the mouses movement (plan to cap it at 30 times a second).

Using autoscroll does not get me what I want (it doesn't scroll until the mouse is out of the view and does so continuously until returned to the view). I see a few different solutions to this, however I would like a solution that folks recommend and have had good success with.

Thanks!

-Shawn
_______________________________________________
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.

  • Prev by Date: Transparent Tetris Example
  • Next by Date: Who should have control?
  • Previous by thread: Re: Using NSString in a switch() statement (newbie)
  • Next by thread: Who should have control?
  • Index(es):
    • Date
    • Thread