I have a few applications that will present test result data in a multicolumn list box as the test progresses. The listbox is filled with values by a sub-vi using a reference to the listbox. Now what I'd like to do is to make sure that the focus on the listbox always is at the bottom, eg. the last values should be shown at the bottom of the list-box. However, I would also like to give the possiblity to scroll up to view the earlier values, without the program forcing the focus on the listbox to the end each time a new value is presented.
My idea of how to make this happen is to somehow always set focus on the last row in the listbox, except for when the "previousely last" row is not visible, which will happen when the user has scrolled up. When the user scrolls down to the end again, the program should continue showing the last values.
I think I can set focus on the last row, but how do I retrieve the information on the position of the scrollbar?