CRichEditView::OnReplaceAll
Called by the framework when processing Replace All commands from the Replace dialog box.
virtual void OnReplaceAll(
LPCTSTR lpszFind,
LPCTSTR lpszReplace,
BOOL bCase,
BOOL bWord
);
Параметры
lpszFind
The text to be replaced.lpszReplace
The replacement text.bCase
Indicates if the search is case sensitive.bWord
Indicates if the search must select whole words or not.
Заметки
Call this function to replace all occurrences of some given text with another string. Override this function to alter search characteristics for this view.
Пример
See the example for CRichEditView::FindText.
Требования
Header: afxrich.h