Click to See Complete Forum and Search --> : How to scroll to the last position in a List Box!


aebrooks
December 16th, 2004, 06:58 AM
I need to have the list box that i am using move to the last entry. I do not have the sort property enabled so all new items enter at the bottom, after a while it fills up and i cant see the lower items without scrolling manually..

Any ideas about getting it to move to the end everytime i add an item to it?

Thanks

Andreas Masur
December 16th, 2004, 07:20 AM
Send a 'LB_SETTOPINDEX' message with the index of the last item...

aebrooks
December 16th, 2004, 08:34 AM
Thanks very much

Andreas Masur
December 16th, 2004, 09:13 AM
You are welcome...