BCGSuite for MFC
BOOL CBCGPGridCache::AddCache ( int  nId)

Allocates a new cached page.

Returns
Nonzero, if the function succeeds; otherwise 0.

Call this function to allocate a new cache page. When the 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.