CRichEditView::OnReplaceAll

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.

Remarks

Called by the framework when processing Replace All commands from the Replace dialog box. Call this function to replace all occurrences of some given text with another string. Override this function to alter search characterics for this view.

Example

See the example for CRichEditView::FindText.

CRichEditView OverviewClass MembersHierarchy Chart

See Also   CRichEditView::OnReplaceSel, CRichEditView::OnFindNext