How do I add a new line in an editbox?

I have tried this:
int tLen = GetEditCtrl().GetWindowTextLength();
GetEditCtrl().SetSel(tLen,tLen);
GetEditCtrl().ReplaceSel("\n");
tLen = GetEditCtrl().GetWindowTextLength();
GetEditCtrl().SetSel(tLen,tLen);
GetEditCtrl().ReplaceSel(buffer);




I get a new line but I also get some graphical character, looks like a l, and I don't want it!

// Anders


---
Thought I could organise freedom
how Scandinavian of me