BCGControlBar Pro for MFC
virtual BOOL CBCGPGridCtrl::ValidateItemData ( CBCGPGridRow )
inlinevirtual

Called by the framework to validate an item data.

Returns
Nonzero if the grid item contains a valid data; otherwise 0.

This function is called by the framework if EndEditItem() has been called with bUpdateData = TRUE. The default implementation does nothing and always returns TRUE.

Override ValidateItemData() in a derived class if you need any additional data validation. You should return FALSE in case of the invalid data to fail the item update.