This documentation is archived and is not being maintained.


Call this function to reset the internal search state of the CRichEditView control after a failed call to FindText.

void TextNotFound( 
   LPCTSTR 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.

Header: afxrich.h