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
);
Parameters
- lpszFind
Contains the text string that was not found.
Remarks
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.
Example
See the example for CRichEditView::FindText.
Requirements
Header: afxrich.h