Is there anyway of finding/setting the current scrolled position of a
listbox?
I have an app which has a long listbox, people scroll up and down it
all the time (please note they are scrolling using the scroll bar
*not* by changing the selected item in the listbox with cursor keys or
anything like that. The selected item often remains as 0 during the
entire runtime).
My app frequently updates the contents of the items, and this always
results in the listbox auto-scrolling itself to show the currently
selected item (i.e. back to the top).
I'd like to get it to stay where it is! I'm not adding any items to
the list, once populated on creation, it's length never changes, but I
would like to be able to change the contents of item[x] and have it
stay on whatever scroll position it was in before, which may or more
not be a scroll window which includes the item I just created or the
selected item.
Ta
Dodgy.
--
MUSHROOMS ARE THE OPIATE OF THE MOOSES