Called by the framework when it needs to move current selection to next grid item.
- Returns
- Should return TRUE if current item was changed; otherwise FALSE.
This function is called by the framework when it needs to move current selection to next grid item.
nDirectionFlags can be a combination of the following CBCGPGridCtrl::Direction enumerated values:
- NoMove: Do nothing
- Up: Go to previous visible row
- Down: Go to next visible row
- Left: Go left to the item in same row in previous visible column
- Right Go right to the item in same row in next visible column
- PrevRow Same as Up
- NextRow Same as Down
- FirstRow Go to first visible row
- LastRow Go to last visible row
- PrevColumn Same as Left, except combination with Up or Down flag.
- NextColumn Same as Right, except combination with Up or Down flag.
- FirstColumn Go to item in first visible column
- LastColumn Go to item in last visible column
- PrevColumn | Up Go left until the first visible column. If reaches the first visible column, then feed to the last item in the previous row.
- PrevColumn | Down Go left until the first visible column. If reaches the first visible column, then feed to the last item in the next row.
- NextColumn | Up Go right until the last visible column. If reaches the last visible column, then feed to the first item in the previous row.
- NextColumn | Down Go right until the last visible column. If reaches the last visible column, then feed to the first item in the next row.
- Parameters
-
nDirectionFlags | A combination of CBCGPGridCtrl::Direction flags that specify where to go. |