BCGSuite for MFC
virtual BOOL CBCGPGridCtrl::OnBeforeReplaceItem ( int  nRow,
int  nColumn,
CBCGPGridItem pNewItem 
)
virtual

Called by the grid before item replacing.

Override this method to add some custom actions such as existing grid item data cleanup or customizing a new item before adding it to the grid.

Parameters
nRowA zero-based row index.
nColumnA zero-based column index.
pNewItemA pointer to the grid new item.
Returns
Return TRUE to continue replacing or FALSE to keep the current item.