CEdit::ReplaceSel

Call this member function to replace the current selection in an edit control with the text specified by lpszNewText.

Syntax

void ReplaceSel( LPCTSTR lpszNewText );

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CEdit Overview, CEdit Member Functions, Control Classes, CWnd::SetWindowText