CBCGPGridItem* CBCGPGridCtrl::GetCurSelItem | ( | CBCGPGridRow * | pCurRow = NULL | ) | const |
Returns selected item.
Use this function to retrieve the currently selected item. When it returns NULL, try the CBCGPGridCtrl::GetCurSel function to retrieve the currently selected row.
pCurRow | Pointer to the current row. Use this parameter to speed up the function. If this parameter is omitted, the function will loop over all grid rows. |