Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - how to modify the backgroundcolor of a report ctrl
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

how to modify the backgroundcolor of a report ctrl

 Post Reply Post Reply
Author
Message
yangyanhui View Drop Down
Groupie
Groupie


Joined: 20 August 2020
Status: Offline
Points: 32
Post Options Post Options   Thanks (0) Thanks(0)   Quote yangyanhui Quote  Post ReplyReply Direct Link To This Post Topic: how to modify the backgroundcolor of a report ctrl
    Posted: 27 September 2020 at 9:14pm
HI,I want to know how to modify the backgroundcolor of the header of a report ctrl
Back to Top
yangyanhui View Drop Down
Groupie
Groupie


Joined: 20 August 2020
Status: Offline
Points: 32
Post Options Post Options   Thanks (0) Thanks(0)   Quote yangyanhui Quote  Post ReplyReply Direct Link To This Post Posted: 14 October 2020 at 10:17pm
can I repaint the header of a report ctrl?
Back to Top
Fredrik View Drop Down
Senior Member
Senior Member


Joined: 22 June 2005
Status: Offline
Points: 191
Post Options Post Options   Thanks (0) Thanks(0)   Quote Fredrik Quote  Post ReplyReply Direct Link To This Post Posted: 15 October 2020 at 7:01pm
Check the members of CXTPReportPaintManager - there is a  m_clrHeaderControl member. If chainging that doesn't look good, derive your own theme from CXTPReportPaintManager and override DrawColumnBackground. 
Windows 10, Visual Studio 20157, Toolkit Pro 18.3.0
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.109 seconds.