BCGControlBar Pro for MFC
virtual BOOL CBCGPGridCtrl::ReplaceItemFromArchive ( CArchive &  ar,
CBCGPGridRow pRow,
int  nColumn,
BOOL  bTestMode = FALSE 

Replaces a grid item from archive.

This function is called to replace an item at the specified position with an item created from archive. It's called during drag-and-drop operations.

arA reference to archive.
pRowA pointer to a grid row, which contains a grid item to be replaced.
nColumnSpecifies a zero based column index of a grid item to be replaced.
bTestModeIf TRUE, the method checks whether the specified grid item can be replaced.