// get the initial text length int nLength = edit.GetWindowTextLength(); // put the selection at the end of text edit.SetSel(nLength, nLength); // replace the selection edit.ReplaceSel(pszText);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)