question for UI gurus about scrolling devices

Dec 14, 2009 12:21

...assuming there are any UI gurus on my flist, anyway.

Other than grabbing a scroll bar and dragging it or clicking it, there are a few ways to scroll:
  • keyboard -- line up and down and page up and down, home, and end
  • mouse wheel
  • hot areas at the right and bottom edge of touchpad
  • various devices where you click and drag the middle button or a special button
  • turning the mouse wheel while it is held in the "clicked" position

In general, I thought that the hot areas on touchpads just raised mouse wheel events. However, touchpad hot area scrolling doesn't work with WPF ScrollViewers, while mouse wheel scrolling does. Similarly, I have a special mouse, which has a middle "scroll" button, so if I hold down the button and move my mouse, I can scroll. This also doesn't work with WPF ScrollViewers.

So I'm wondering, are middle button click and drag, mouse wheel click and scroll, and hot areas on touchpads the same mouse events? If not, what mouse events should I be looking for to write a custom ScrollViewer to handle all these devices?

computer

Previous post Next post
Up