Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » Problem with CExtGridCellVariant class Collapse All
Subject Author Date
Bahrudin Hrnjica Mar 7, 2006 - 10:03 AM




I used your sample ADOrecordsetView. I added some extra data members in CAdoDataCell class derived from CExtGridCellVariant.


I override CAdoDataCell::TextGet virtual member functions, and try to manipulate with data members which I added.

I initialized these data members in

CExtADOProvider::RsCacheRow(ULONG nCacheColOffset,ULONG nCacheRowNo,bool bHeader), when cells are initialized.

When The GridWnd calls TextGet all data members have values which are defined in Constructor but not from RsCacheRow.

How can I solve the problem?

Technical Support Mar 9, 2006 - 9:17 AM

Do you implement the Assign() virtual method in your custom cell class as we do this in our cell classes?

Bahrudin Hrnjica Mar 9, 2006 - 11:22 AM

Thank You!