|
virtual |
Finds, replaces and selects text in the edit control.
The function is used to find, replace and select the result text in the edit control. ReplaceText is also called from CBCGPEditView when it processes ID_EDIT_REPLACE command.
Override this method in a derived class to customize find/replace behavior.
lpszFind | Specifies the text to find. |
lpszReplace | Specifies the text to replace with. |
bNext | Specifies forward (TRUE) or backward (FALSE) search. |
bCase | If TRUE, the search is case-sensitive. |
bWholeWord | If TRUE, the function looks for exact word. |