This topic has not yet been rated - Rate this topic

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.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.