Thursday, November 26, 2009
Tuesday, October 21, 2008
Smooth scrolling in Winamp and Netbeans with Microsoft Mice
Microsoft, oh, Microsoft. Why did you break your API?
My new "Microsoft Wireless Notebook Presenter Mouse 8000" does not work right with Winamp and Netbeans. The scrollwheel responds right when I scroll up, but it goes jagged when I scroll down. I couldn't find any information on the Windows site, but the winamp forums posted the culprit:
Posted by dogtato on 09-26-2007 06:06 PM:
This is an old thread, but the problem persists as of the newest version and I couldn't find any mention of it being a bug other than "all vista issues are known". edit: also not mentioned in notes for 5.5 beta
Anyways, it's probably caused by microsoft implementing "smooth scrolling" which makes mice send smaller values to the computer blah blah blah heres an article http://download.microsoft.com/downl...65f5b/Wheel.doc
and here's some excerpts from it which mean winamp has to be fixed since this can't be disabled
Q. Does Control Panel allow users to enable or disable smooth scrolling support?
No. Windows Vista automatically enables smooth scrolling for mouse devices that report this functionality. There are currently no plans to provide a user interface in Control Panel or the registry to allow system-wide or user-specific ways to disable smooth scrolling.
Q. Is it necessary to modify legacy applications to support smooth scrolling?
It should not be necessary to modify Windows applications that handle window messages for vertical scrolling to support smooth scrolling if the application acts on the mouse wheel delta and does not assume a message of 120. For more information, see "Best Practices for Supporting Microsoft Mouse and Keyboard Devices" listed in "Resources" at the end of this paper
Too bad the quoted paper is nowhere to be found; the url is dead.
Apparently, I am not the only person with this problem. It is a shame microsoft breaks functionality in programs and then says that the programs that are broken are to blame.