Microsoft KB Archive/890764

= BUG: A ListBox control appears to scroll in the wrong direction in Windows 2000 or Windows XP =

Article ID: 890764

Article Last Modified on 1/24/2005

-

APPLIES TO


 * Microsoft Windows 2000 Standard Edition
 * Microsoft Windows XP Professional

-





SYMPTOMS
In Microsoft Windows 2000 and Windows XP, an owner-drawn ListBox control appears to scroll its contents in the wrong direction when you scroll by using the keyboard or by using the scroll bar. When you scroll down, the smooth-scroll animation makes it appear that the contents of the ListBox control are being scrolled up. Although the ListBox control appears to scroll in the wrong direction, the list items are in the correct position after the smooth-scroll animation finishes.



WORKAROUND
To work around this bug, you must turn off the smooth-scroll feature of the ListBox control. To do this, follow these steps:
 * 1) In Control Panel, open Display.
 * 2) On the Appearance tab, click Effects.
 * 3) Click to clear the Use the following transition effect for menus and tooltips check box.

Applications can use the SPI_SETLISTBOXSMOOTHSCROLLING parameter when calling the SystemParametersInfo function to enable or to disable smooth scrolling in ListBox controls.



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the &quot;Applies to&quot; section.

