CRichEditView::TextNotFound
Call this function to reset the internal search state of the CRichEditView control after a failed call to FindText.
void TextNotFound(
LPCTSTR lpszFind
);
Параметры
- lpszFind
Contains the text string that was not found.
Заметки
It is recommended that this method be called immediately after failed calls to FindText so that the internal search state of the control is properly reset.
The lpszFind parameter should include the same content as the string provided to FindText. After resetting the internal search state, this method will call the OnTextNotFound method with the provided search string.
Пример
See the example for CRichEditView::FindText.
Требования
Header: afxrich.h