BCGControlBar Pro for MFC
virtual BOOL CBCGPEditCtrl::FindText ( LPCTSTR  lpszFind,
BOOL  bNext = TRUE,
BOOL  bCase = TRUE,
BOOL  bWholeWord = FALSE 

Finds and selects a text in the edit control.

Nonzero if the specified text was found; otherwise 0.

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

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.