Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
setwintext append
#10

Ok my problem is that I have made a dialog and im using some of the above code to 'out' into a read only id (richedit) its some what like the out in QM, the problem is that id has a limit to how much text it can hold, that is fine with me but i would like to delete old outs that are not needed anymore so it doesnt reach the end of its limit.

This is the code I am using to out to the id
Code:
Copy      Help
function str's
int hwnd=id(5 "DlG")

s+"[]"
SendMessage(hwnd EM_SETSEL -2 -2)
SendMessage(hwnd EM_REPLACESEL 0 s)

I would like to add something that says if lines >100 delete top line first line.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)