Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - HOWTO: Use my own CXTPReportRecords derived class
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

HOWTO: Use my own CXTPReportRecords derived class

 Post Reply Post Reply
Author
Message
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 991
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Topic: HOWTO: Use my own CXTPReportRecords derived class
    Posted: 03 May 2013 at 4:35am
Hi;

I have to change the sorting algorithm used for all text items in any report control of my application. So I checked the code and found out that best would be to overwrite the virtual CXTPReportRecords::Compare() function. But I can't find any way to use my own CXTPReportRecords collection like in CreateGroupRow()...
What is the meaning of virtual functions when I can't derive?

All I want to achieve is, that the control should use locale setting when comparing strings!
I don't want to derive any item class - thats too boring.

Any help or hint is very welcome.


Martin

Product: Xtreme Toolkit v 15.3.1, new Projects v 17.2
Platform: Windows 8.1 (64bit)
Language: VC++ 2015 Upd3
Back to Top
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 991
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Posted: 29 May 2017 at 3:03pm
Still not solved!?!
Martin

Product: Xtreme Toolkit v 15.3.1, new Projects v 17.2
Platform: Windows 8.1 (64bit)
Language: VC++ 2015 Upd3
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.078 seconds.