CRichEditView::FindTextSimple

BOOL FindTextSimple( LPCTSTR lpszFind, BOOL bCase = TRUE, BOOL bWord = TRUE );

Return Value

Nonzero if the lpszFind text is found; otherwise 0.

Parameters

lpszFind

Contains the string to search for.

bCase

Indicates if the search is case sensitive.

bWord

Indicates if the search should match whole words only, not parts of words.

Remarks

Call this function to find the specified text and set it to be the current selection.

CRichEditView OverviewClass MembersHierarchy Chart

See Also   CRichEditCtrl::FindText, CRichEditCtrl::SetSel, CRichEditView::FindText