CRichEditView::OnReplaceAll
Visual Studio 2008
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 );
See the example for CRichEditView::FindText.