pegasus912 Posted August 6, 2005 Share Posted August 6, 2005 How can I update a text in an edit control and scroll to the end of the text without avtivating it ? I d'like to install a protocoll reader window (always on top, no edit), which shows the protocoll text (long) and after every change it gets updated. It works perfect, but if the text in the edit box is longer as can be displayed without scrolling, the text is always being displayed from the beginning of the text, I'd like the window to scroll automatically down to end of the displayed text. I could do that with Send("!{down}", but the window shall have no focus on it, it shall not be activated. Thank very much for any help Roy info@fashionbye.de Link to comment Share on other sites More sharing options...
pegasus912 Posted August 7, 2005 Author Share Posted August 7, 2005 For the time being, I helped myself by changing the order in the protocol-file, latest entries are at the beginning of the file instead of the end of the file. This helped me around it temporarily, but anyway I'd like to know a solution. Link to comment Share on other sites More sharing options...
Lazycat Posted August 11, 2005 Share Posted August 11, 2005 Try to add this call: $EM_SCROLLCARET = 0x00B7 GUICtrlSendMsg($editID, $EM_SCROLLCARET, 0, 0) Trong 1 Koda homepage ([s]Outdated Koda homepage[/s]) (Bug Tracker)My Autoit script page ([s]Outdated mirror[/s]) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now