![]() |
Report coloring in Ribbon app |
Post Reply
|
| Author | |
Bart6
Groupie
Joined: 22 March 2009 Location: Belgium Status: Offline Points: 20 |
Post Options
Thanks(0)
Quote Reply
Topic: Report coloring in Ribbon appPosted: 07 April 2009 at 4:47am |
|
Dear Support
I'm using the ReportControl in a Ribbon application, but i noticed that the coloring in the Report Control is not the same as for the Ribbon. What is the recommended way of aligning the ReportControl painting to the Ribbon colors? I could use pick the colors manually from the Ribbon PaintManager, but that doesn't feel right. Thanks Bart |
|
![]() |
|
SuperMario
Senior Member
Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
Quote Reply
Posted: 08 April 2009 at 9:16am |
|
CString csStylesPath(szStylesPath);
int nIndex = csStylesPath.ReverseFind(_T('\\')); if (nIndex > 0) { csStylesPath = csStylesPath.Left(nIndex); } else { csStylesPath.Empty(); } XTPOffice2007Images()->SetHandle(csStylesPath + _T("\\Styles\\Office2007Black.dll"), _T("OFFICE2007BLACK.INI")); |
|
![]() |
|
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 |