Export (0) Print
Expand All

CRichEditView::OnReplaceAll 

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


virtual void OnReplaceAll(
   LPCTSTR lpszFind,
   LPCTSTR lpszReplace,
   BOOL bCase,
   BOOL bWord 
);

Parameters

lpszFind

The text to be replaced.

lpszReplace

The replacement text.

bCase

Indicates if the search is case sensitive.

bWord

Indicates if the search must select whole words or not.

Call this function to replace all occurrences of some given text with another string. Override this function to alter search characteristics for this view.

See the example for CRichEditView::FindText.

Community Additions

ADD
Show:
© 2014 Microsoft