FireFox Posted November 11, 2008 Share Posted November 11, 2008 Hello, I've made EditCtrl with this constants : $ES_READONLY + $ES_MULTILINE + $ES_WANTRETURN + $WS_VSCROLL + $ES_AUTOVSCROLL But the problem is when edit is full with lines when i add message it return to top edit and i want it to stay at the end, how to do it ? Thanks for any answers. Link to comment Share on other sites More sharing options...
dbzfanatic Posted November 11, 2008 Share Posted November 11, 2008 Use the newer Edit controls and use _GUICtrlEdit_AppendText() Go to my website. | My Zazzle Page (custom products)Al Bhed Translator | Direct linkScreenRec ProSimple Text Editor (STE) [TUTORIAL]Task Scheduler UDF <--- First ever UDF!_ControlPaste() UDF[quote name='renanzin' post='584064' date='Sep 26 2008, 07:00 AM']whats help ?[/quote] Link to comment Share on other sites More sharing options...
FireFox Posted November 14, 2008 Author Share Posted November 14, 2008 Use the newer Edit controls and use _GUICtrlEdit_AppendText()Thanks it works when i send message to editctrl but the problem is when the server send me a message I change the data of editctrl and it return to top so I want to know if function exist to put it at the end or key send...?Thanks in advance. Link to comment Share on other sites More sharing options...
dbzfanatic Posted November 14, 2008 Share Posted November 14, 2008 Once again don't use GUICtrlSetData() use _GUICtrlEdit_AppendText() and _GUICtrlEdit_Create(). Just make sure you always use _GUICtrlEdit_AppendText() in your code. I have an example of this in my signature (STE). Go to my website. | My Zazzle Page (custom products)Al Bhed Translator | Direct linkScreenRec ProSimple Text Editor (STE) [TUTORIAL]Task Scheduler UDF <--- First ever UDF!_ControlPaste() UDF[quote name='renanzin' post='584064' date='Sep 26 2008, 07:00 AM']whats help ?[/quote] Link to comment Share on other sites More sharing options...
FireFox Posted November 15, 2008 Author Share Posted November 15, 2008 Once again don't use GUICtrlSetData() use _GUICtrlEdit_AppendText() and _GUICtrlEdit_Create(). Just make sure you always use _GUICtrlEdit_AppendText() in your code. I have an example of this in my signature (STE).Yes..., i can be stupid sometimes lol. thanks 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