How can we prepare PrepCache using Virtual list control

Hi.

I am using virtual list contro and my requirements is to load the items in chache on demand.

OnChildNotify............

NMLVCACHEHINT* pcachehint=NULL;

if (message == WM_NOTIFY)
{
NMHDR* phdr = (NMHDR*)lParam;

switch(phdr->code)
{
case LVN_ODCACHEHINT:
pcachehint= (NMLVCACHEHINT*) phdr;
// Load the cache with the recommended range.
PrepCache(pcachehint->iFrom, pcachehint->iTo);
break;
default:
return CListCtrl::OnChildNotify(message, wParam, lParam, pLResult);
}
return FALSE;
}
else
return CListCtrl::OnChildNotify(message, wParam, lParam, pLResult);

How can i PrepCache from the specific range?
[850 byte] By [Faheem_Arshad] at [2007-11-20 11:41:20]