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

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

This method should return TRUE if the specified by pItem item can be replaced. The default implementation displays a message box asking the user permission to replace.

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

Parameters
pItemA pointer to a grid item to be replaced.