BCGSuite for MFC
virtual BOOL CBCGPGridRow::CanReplaceItem ( int  nColumn,
CBCGPGridItem pNewItem 
)
virtual

Tells whether an item can be replaced during drag-and-drop operation.

Returns
TRUE, if an item can be replaced; otherwise FALSE.

Override this method in a derived class and return FALSE, if the specified by nColumn item can't be replaced by item specified pNewItem.

The default implementation returns TRUE.

Parameters
nColumnZero-based index of item's column.
pNewItemA pointer to a new grid item, which should replace the existing item at the specified by nColumn column,