共用方式為


CRichEditView::OnFindNext

Called by the framework when processing commands from the Find/Replace dialog box.

virtual void OnFindNext(
   LPCTSTR lpszFind,
   BOOL bNext,
   BOOL bCase,
   BOOL bWord 
);

Parameters

  • lpszFind
    The string to find.

  • bNext
    The direction to search: TRUE indicates down; FALSE, up.

  • bCase
    Indicates whether the search is to be case sensitive.

  • bWord
    Indicates whether the search is to match whole words only or not.

Remarks

Call this function to find text within the CRichEditView. Override this function to alter search characteristics for your derived view class.

Requirements

Header: afxrich.h

See Also

Reference

CRichEditView Class

Hierarchy Chart

CRichEditView::FindText

CRichEditView::FindTextSimple

Other Resources

CRichEditView Members