BCGSuite for MFC
CBCGPGridItemID CBCGPGridCtrl::GetNextItemID ( CBCGPGridItemID  id,
BOOL  bNext,
BCGP_GRID_FINDREPLACE_PARAM::ScanOrder  scanOrder 
) const
protected

Helper function to navigate to the next item inside the grid.

Returns
valueID of the next item.

Helper function to navigate to the next item inside the grid.

scanOrder can be one of the following values:

  • BCGP_GRID_FINDREPLACE_PARAM::ByRows - Specifies 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::ByColumns - Specifies the search order by columns. The forward search direction is from top to bottom for each visible column from left to right.
Parameters
idStart from the specified item
bNextTRUE - go in forward direction, FALSE - reverse direction.
scanOrderSpecifies scan direction.