I am writing a little application that consists of a window that accepts
user commands into, in an interactive way.
I am using a textbox control on a form, to accept user input. I need to
know how to do the ff (which I suspect involves subclassing the text box
control):
1). How do I set the cursor to the END of the LAST LINE in the text box ?
2). I need to return the user to the last line as soon as the user
starts typing, no matter where they had placed the cursor in the textbox
initially - so the user always enters commands from the last line in the
text box - how may I do this?
3). I need to trap the keyup and keydown so that instead of the cursor
moving up (or down), I display the words "UP" (or "DOWN" respectively)
on the LAST LINE - how do I do this?
4). I will be displaying a prompt ">" at the begining of the last line,
I want to prevent the user from being able to move leftward past the ">"
which will be displayed at the the begining of the LAST line displayed
in the textebox - how do I do this?
Archived from group: microsoft>public>vb>enterprise