![]() |
how to modify the backgroundcolor of a report ctrl |
Post Reply ![]() |
Author | |
yangyanhui ![]() Senior Member ![]() Joined: 20 August 2020 Status: Offline Points: 131 |
![]() ![]() ![]() ![]() ![]() Posted: 27 September 2020 at 9:14pm |
HI,I want to know how to modify the backgroundcolor of the header of a report ctrl
|
|
![]() |
|
yangyanhui ![]() Senior Member ![]() Joined: 20 August 2020 Status: Offline Points: 131 |
![]() ![]() ![]() ![]() ![]() |
can I repaint the header of a report ctrl?
|
|
![]() |
|
Fredrik ![]() Senior Member ![]() Joined: 22 June 2005 Status: Offline Points: 235 |
![]() ![]() ![]() ![]() ![]() |
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
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |