BCGControlBar Pro for MFC
void CBCGPGridCtrl::SetItemRTC ( int  nColumn,
CRuntimeClass *  pRuntimeClass 

Sets runtime class information to create items of custom type in the specified column.

Use this function to associate a grid item runtime class information with a column.

Default implementation of CBCGPGridCtrl::CreateItem uses this information when creating new grid items in the specified column.

nColumnThe column index
pRuntimeClassA pointer to CRuntimeClass structure, which must be associated with a CBCGPGridItem - derived class.