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.
Posted on 2002-07-02 16:02:29 by Kudos
Iczelion has a couple of tutorials on the richedit control, you should read those.
Posted on 2002-07-02 16:54:02 by sluggy
thanx sluggy I had forgoten about iczellion's tutorials.
Posted on 2002-07-02 17:04:46 by Kudos
Try EM_REPLACESEL.
Posted on 2002-07-02 17:17:42 by comrade
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.
Posted on 2002-07-03 07:49:04 by roticv