Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Sorting in a CXTPReportControl
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Sorting in a CXTPReportControl

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


Joined: 31 July 2008
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote Francisco Quote  Post ReplyReply Direct Link To This Post Topic: Sorting in a CXTPReportControl
    Posted: 31 July 2008 at 1:55pm
Hi!
Im using the CXTPReportControl class to show a list or records with information. I set up the the column styke with:
report->GetPaintManager()->SetColumnStyle(xtpReportColumnOffice2007);
The thing is taht when indicate that a column is giong to be sorted(report->GetColumns()->SetSortColumn(c, TRUE);) the background of that column turns to white. I tried using the paint Manager to paint again the entire report but doesn't seem to work.
If don't set the sorting value of taht column, everything is fine.
Any ideas??

Thkns
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 01 August 2008 at 2:22am
Hi,
 
if you don't need it set
rpt->GetPaintManager()->m_bShadeSortColumn = FALSE
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.070 seconds.