BCGControlBar Pro for MFC
virtual BOOL CBCGPGridCtrl::Find ( const CString &  strFind,
DWORD  dwFindMask,
DWORD  dwFindParamsEx 
)
virtual

Called by the framework to initiate the find operation.

This function is called by the framework to initiate the find operation.

dwFindParamsEx can be one or more of the following values:

  • BCGP_GRID_FINDREPLACE_PARAM::FR_SCANORDER_BYROWS - Specify the search order by rows. The forward search direction is from left to right for each visible row from top to bottom. Can't be used together with FR_SCANORDER_BYCOLS.
  • BCGP_GRID_FINDREPLACE_PARAM::FR_SCANORDER_BYCOLS - Specify the search order by columns. The forward search direction is from top to bottom for each visible column from left to right.
  • BCGP_GRID_FINDREPLACE_PARAM::FR_WHOLECELL - If set the grid searches only for whole cell contents that match the search string.
  • BCGP_GRID_FINDREPLACE_PARAM::FR_LOOKIN_LABELS - If set the grid searches inside grid items labels. Enabled by default.
  • BCGP_GRID_FINDREPLACE_PARAM::FR_LOOKIN_PREVIEW - If set the grid searches inside previews. By default enabled if IsPreviewRowEnabled().
Parameters
strFindThe text string to search
dwFindMaskThe combination of standard search parameters flags. For more info see the FINDREPLACE structure, Flags member.
dwFindParamsExA set of bit flags that you can use to set extended search parameters.