how do i add a line of text in a edit control? i can only seem to set the first line, it is a mutiline edit control.
how do i add a line of text in a edit control? i can only seem to set the first line, it is a mutiline edit control.
Try removing the read only style and then adding the text. then return the read only style.
use SendMessage and EM_SETREADONLY
"Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
Friedrich Nietzsche
"I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
George Best
"If you are going through hell....keep going."
Winston Churchill
SetWindowText should work.
[EDIT]
but you have to add the text to a buffer that holds whats already in the edit control then call SetWindowText with that buffer bc it just resets whats there