Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Synchronous multiple listbox scrolling?

Status
Not open for further replies.

Scott7261

Programmer
Dec 14, 2007
3
US
This will hopefully be my final listbox question.

When the user scrolls down for the first time, the listboxes scroll one at a time instead of synchronously. This happens because of the "smooth scrolling effect" that disappears after the first scroll.

Question: How do I either get the listboxes to scroll simultaneously, or take away the smooth scrolling effect altogether?
 
I don't want the user to have to change their system features for the program to run elegantly. If I have to, I'll end up using ListView, but the user would need a way to select individual subitems.

Here's an easier question: After the user makes that first smooth scroll, and the animated scrolling goes away, what variable changes? How do I set this variable to "no animation" manually as if the user had already arrived at it?
 
You could make one wide listbox and owner draw multiple text pieces.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top