BCGSuite for MFC
BOOL BCGP_GRID_FINDREPLACE_PARAM::bWholeWord

Specifies whether to search for whole words, or not.

If set indicates that the Grid should search only for whole words that match the search string.