BCGSoft Professional Editor for MFC
virtual BOOL CBCGPEditCtrl::FindText ( LPCTSTR  lpszFind,
BOOL  bNext = TRUE,
BOOL  bCase = TRUE,
BOOL  bWholeWord = FALSE 
)
virtual

Finds and selects a text in the edit control.

Returns
Nonzero if the specified text was found; otherwise 0.

Use this function to find and select a text in the edit control.

Parameters
lpszFindSpecifies the text to find.
bNextSpecifies forward (TRUE) or backward (FALSE) search.
bCaseIf TRUE, the search is case-sensitive.
bWholeWordIf TRUE, the function looks for the exact word.