CGXControl::FindText
virtual BOOL FindText(const GX_FR_STATE& find, ROWCOL nRow, ROWCOL nCol, BOOL bCurrentPos, BOOL bSetCell = FALSE);
find
A reference to the GX_FR_STATE structure which contains the search text, direction and other options.
nRow
Specifies the first row id.
nCol
Specifies the first column id.
bCurrentPos
Specifies if the search should include the current position (e.g., in an edit control the search should begin at the current caret position).
bSetCell
Specifies if the current cell should be moved to the next cell which matches the search criteria.
Return Value
TRUE if the text could be found; otherwise FALSE.
Remarks
Override this method if you want to customize find/replace in a derived control.
The base class version performs a search through the text that is displayed in the cell (see GetControlText).
Control-Factory Specific ->
This method has been implemented using the abstraction mechanism as discussed in the chapter "Reducing the size of your application" in the user's guide. A call to the ImplementFindReplace method from within the control factory class' InitializeGridComponents method will make the concrete implementation of this method available to your application.
If no concrete implementation is available this method returns FALSE. A warning will be displayed in the debug window.
END Control-Factory Specific