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



The information in this article applies to:

  • the operating system: Microsoft Windows 2000
  • the operating system: Microsoft Windows XP

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 "Applies to" section.

REFERENCES

For additional information, visit the following Microsoft Developer Network (MSDN) Web site:

Modification Type:MajorLast Reviewed:1/24/2005
Keywords:kbpending kbBug kbListBox kbCtrl KB890764 kbAudDeveloper