BCGControlBar Pro for MFC
virtual BOOL CBCGPGridCtrl::OnQueryClearNonEmptyItem ( const CBCGPGridItem pItem) const
virtual

Called by a grid control to determine whether a non-empty grid item can be cleared.

This method should return TRUE if the specified by pItem item can be cleared (set empty). The default implementation displays a message box asking the user permission to clear.

Override this method in a derived class to customize this behavior.

Parameters
pItemA pointer to grid item to be cleared.