Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - Sort of CXTPReportItemText
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Sort of CXTPReportItemText

 Post Reply Post Reply
Author
Message
shouting View Drop Down
Newbie
Newbie


Joined: 08 April 2008
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote shouting Quote  Post ReplyReply Direct Link To This Post Topic: Sort of CXTPReportItemText
    Posted: 08 April 2008 at 11:33pm
As I get the percentage and show it using CXTPReportItemNumber, sort the data correctly;
 
sometimes, I must show the data "90.22%", I have to use CXTPReportItemText and overload compare function; but the compare function only compare two integer, 
 
alwayls , the percentage data is a double data, for example : no differences between "0.1%" and " 0.11%"
 
How can i overload the compare function;
Back to Top
Michl View Drop Down
Senior Member
Senior Member


Joined: 14 September 2007
Status: Offline
Points: 138
Post Options Post Options   Thanks (0) Thanks(0)   Quote Michl Quote  Post ReplyReply Direct Link To This Post Posted: 11 April 2008 at 12:21pm
Use CXTPReportItemNumber and overwrite GetCaption()
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.