CGXControl::ReplaceSel
virtual void ReplaceSel(LPCTSTR pszReplaceText);
pszReplaceText
Specifies the text to be replaced with the currently selected text (e.g., in an edit window the highlighted text).
Remarks
Override this method to replace the currently selected text.
The base-class version calls SetControlTextRowCol to replace the value.
The CGXEditControl version calls the CEdit::ReplaceSel method of the edit window which results in replacing the highlighted text in the window.
See Also
CGXControl::ReplaceAll CGXControl::FindText CGXGridCore::SetControlTextRowCol