CEditView::OnFindNext
virtualvoidOnFindNext(LPCTSRTlpszFind**,BOOLbNext,BOOLbCase);**
Parameters
lpszFind
The text to be found.
bNext
Specifies the direction of the search. If TRUE, the search direction is toward the end of the buffer. If FALSE, the search direction is toward the beginning of the buffer.
bCase
Specifies whether the search is case sensitive. If TRUE, the search is case sensitive. If FALSE, the search is not case sensitive.
Remarks
Searches the text in the buffer for the text specified by lpszFind, in the direction specified by bNext, with case sensitivity specified by bCase. The search starts at the beginning of the current selection and is accomplished through a call to FindText. In the default implementation, OnFindNext calls OnTextNotFound if the text is not found.
Override OnFindNext to change the way a CEditView-derived object searches text. CEditView calls OnFindNext when the user chooses the Find Next button in the standard Find dialog box.
CEditView Overview | Class Members | Hierarchy Chart
See Also CEditView::OnTextNotFound, CEditView::FindText, CEditView::OnReplaceAll, CEditView::OnReplaceSel