BCGSuite for MFC
BOOL CBCGPGridCache::SetCachedRow ( int  nId,
CBCGPGridRow pRow 
)

Adds a row to the cache.

Call this function to add a row to the cache. If index is not in the range of available pages, the class automatically allocate a new cache page. When page count exceeds the m_nCachePageCount limit, the CBCGPGridCache class automatically frees one of the previously added pages.

Parameters
nIdZero-based index of the cached item
pRowA pointer to the item to add.