BCGControlBar Pro for MFC
virtual BOOL CBCGPDBGridCtrl::OnBeforeAddRow ( CBCGPGridRow ,
int   
)
inlinevirtual

Called by the framework before a row has been added to the grid.

Returns
Return TRUE to indicate that a row can be added to the grid; otherwise FALSE.

Override this method in a derived class to filter rows being added to the grid. This method is called by the framework just before a row is added to the grid, so you have a chance to filter out unwanted records.