Export (0) Print
Expand All

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.

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.

Community Additions

ADD
Show:
© 2014 Microsoft