Greetings all,
Ok I have a dialog, which contains a LISTBOX with a vertical scrollbar. Is there a way I can set the behavior of the VSCROLL to, automatically and persistently, scroll down to the bottom of the list? As opposed to the default manner in which VSCROLL remains at the top of the list, until the user instructs otherwise. Basically I wish to reverse the default scroll bar behavior.
The reason being the DIALOG also has a TEXTBOX, which receives data from the user, then must output text (entered by the user) to the LISTBOX. As new text is appended to the LISTBOX it always appears at the bottom of the list. This is perfectly ok and exactly as I wish. The problem is to see the newest entries I must manually scroll to the bottom. I simply wish to automate the VSCROLL downwards.
For example, consider an instant messenger program, chat program, or telenet MUD client. The scrollbar in these types of programs behave in an inverse manner. Essentially these types of programs are identical to what I am attempting to accomplish.
As always, an actual example of code is preferable to an explanation of how this may be achieved. If I have the code, the explanation should be self-evident. However, I appreciate any help you may be able to provide.
Thank You!
Ok I have a dialog, which contains a LISTBOX with a vertical scrollbar. Is there a way I can set the behavior of the VSCROLL to, automatically and persistently, scroll down to the bottom of the list? As opposed to the default manner in which VSCROLL remains at the top of the list, until the user instructs otherwise. Basically I wish to reverse the default scroll bar behavior.
The reason being the DIALOG also has a TEXTBOX, which receives data from the user, then must output text (entered by the user) to the LISTBOX. As new text is appended to the LISTBOX it always appears at the bottom of the list. This is perfectly ok and exactly as I wish. The problem is to see the newest entries I must manually scroll to the bottom. I simply wish to automate the VSCROLL downwards.
For example, consider an instant messenger program, chat program, or telenet MUD client. The scrollbar in these types of programs behave in an inverse manner. Essentially these types of programs are identical to what I am attempting to accomplish.
As always, an actual example of code is preferable to an explanation of how this may be achieved. If I have the code, the explanation should be self-evident. However, I appreciate any help you may be able to provide.
Thank You!
Comment