I am working on a MFC CListCtrol derived class CVirtualList control. I set its style to LVS_OWNERDATA. According to my understanding, as long as the list control is set to owner data, the LVN_GETDISPINFO message will be sent if CListCtrl’s function SetItemCount(int) is called. However, My virtual list control‘s LVN_GETDISPINFO handler never be called when the CListCtrl::SetItemCount(int) is called. It is strange to me. Could anyone here tell me if there is something I missed?
Thank you very much,