BCGControlBar Pro for MFC
virtual BOOL CBCGPGridItem::ChangeType ( const _variant_t &  var)

Called by the framework when a grid control needs to change type of a grid item.

TRUE, if the type has been changed; FALSE, grid item's type can't be changed.

You can override this method in a derived class if you need to take any actions when a type of a grid item is being changed. You can return FALSE to prevent type change.

varSpecifies a new type.