Here you go to add or insert it easy. To delete you must know how to find the text you want to delete unless you are letting the user select it for you.<br><br>From msdn.microsoft.com<br><br>CEditView::GetEditCtrl <br>CEdit& GetEditCtrl( ) const;<br><br>Return Value<br><br>A reference to a CEdit object.<br><br>Remarks<br><br>Call GetEditCtrl to get a reference to the edit control used by the edit view. This control is of type CEdit, so you can manipulate the Windows edit control directly using the CEdit member functions.<br><br>CEdit::SetSel <br>void SetSel( DWORD dwSelection, BOOL bNoScroll = FALSE );<br><br>void SetSel( int nStartChar, int nEndChar, BOOL bNoScroll = FALSE );<br><br>CEdit::ReplaceSel <br>void ReplaceSel( LPCTSTR lpszNewText, BOOL bCanUndo = FALSE );<br><br>Hope this helps<br>-pete
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.