PDA

View Full Version : How to use SECTreeCore<SECListCtrl> with latest library?



dkar
07-12-2010, 12:14 AM
I was working with old stingray library, and in which there is a template class
template class SECTreeCore<SECListCtrl>;

i have used this in my application as:
SECTreeCore<SECListCtrl>::m_pImageList;

however i am getting error with the same code using latest library.
This is because there is no such template class in latest library.
I want to know if i can change something to have the same effect as
SECTreeCore<SECListCtrl>::m_pImageList;

Any reply will will be valuable.
Thanks.

dkar
07-18-2010, 11:07 PM
Anyone any clue?

Terry
07-22-2010, 09:27 AM
Without looking at the older version to see what might have changed, there is a member variable m_pImageList defined in SEC_LISTCLASS, which is the base class of SECTreeCtrl/SECTreeView. This member is protected, but there are accessor functions (GetImageList() and SetImageList()) defined in SEC_TREECLASS.

If this does not help, you should submit a support incident at http://www2.roguewave.com/support/private/ts/index.cfm so we can work through this with you in more detail.