Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - How to change color of the docking pane caption?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to change color of the docking pane caption?

 Post Reply Post Reply
Author
Message
g_j_a_i_n View Drop Down
Groupie
Groupie
Avatar

Joined: 27 August 2005
Status: Offline
Points: 98
Post Options Post Options   Thanks (0) Thanks(0)   Quote g_j_a_i_n Quote  Post ReplyReply Direct Link To This Post Topic: How to change color of the docking pane caption?
    Posted: 19 hours 45 minutes ago at 11:26pm

Hello,

Can you please tell me how to change the color of docking pane's caption. I want to change the blue color to something else.

I tried PaneManager->GetPaintManager()->m_clrActiveCaption. But the color remains blue.





Regards,
Gautam Jain

Back to Top
cpede View Drop Down
Senior Member
Senior Member


Joined: 13 August 2004
Location: Denmark
Status: Offline
Points: 684
Post Options Post Options   Thanks (0) Thanks(0)   Quote cpede Quote  Post ReplyReply Direct Link To This Post Posted: 8 hours 46 minutes ago at 10:25am
I'm doing that through the styles ini file in section

E.g.
XTPPaintManager()->SetTheme(xtpThemeOffice2016);
XTPResourceImages()->SetHandle(sThemePath, _T("Office2016PowerPointDarkGray.ini"));


[DockingPane.Active]
BorderColor = 0 87 78
BackgroundColor = 178 178 178
TextColor = 255 255 255
CaptionColor = 0 87 78
GripperColor = 0 166 159


Product: Xtreme ToolkitPro (24.0.0)
Platform: Windows 10 (x64)
Language: Visual Studio 2017 (C++)
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.125 seconds.