Jump to content

Edit constants no return on top...


FireFox
 Share

Recommended Posts

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

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

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).

Link to comment
Share on other sites

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...