// JP opened flex table

Click to See Complete Forum and Search --> : CListBox Bug


Vic Vag
October 30th, 2000, 07:58 AM
I have a bug in the CListBox control. I need to controll the scrolling of five listboxes with one scrollbar. I use SetTopIndex(int nitem) to
scroll each list box, but it only works if the item "nitem" is not visible. how can i force it to work!

NMTop40
October 31st, 2000, 04:55 AM
2 work-arounds:

1. first make sure it is invisible
2. why are you using 5 list-boxes anyway? Why not a CListCtrl ?

Vic Vag
October 31st, 2000, 05:44 AM
1. Does not work
2. the GUI requires 5 list boxes and not one ListCtrl.

//JP added flex table