How do I add some text to a rich edit control. WM_SETTEXT clears what text is allready there and sreaming seams like over kill.
Iczelion has a couple of tutorials on the richedit control, you should read those.
thanx sluggy I had forgoten about iczellion's tutorials.
Try EM_REPLACESEL.
hmm.. you can get the text in the richedit by sending the message EM_GETLINE. Then you can add the two string together. then you select all the txt and then send the message WM_DELETE. After that you can place your text in.