No, I don’t have the nColNo and nRowNo. At least I don’t think I have them.
I have a cell that derives from CExtGridCell. Let’s call it CMyCell.
I want to override the Compare function:
int CMyCell::Compare(const CExtGridCell & other, DWORD dwStyleMask, DWORD dwStyleExMask) const
{...}
Is it possible to have the CExtReportGridItem and CExtReportGridColumn pointers for THIS cell inside the CMyCell::Compare function?
If I have these 2 pointers I can retrieve the data needed to do my custom compare.
An alternative solution would be to have a pointer to the CExtReportGridWnd for THIS cell inside the CMyCell::Compare function?
Is that possible?
Also, CExtReportGridWnd is extremely memory heavy so I’d like to avoid adding a back pointer to the gird inside the cell object.