![]() |
CXTPTabClientWnd Client Margin Color |
Post Reply
|
| Author | |
cpede
Senior Member
Joined: 13 August 2004 Location: Denmark Status: Offline Points: 683 |
Post Options
Thanks(0)
Quote Reply
Topic: CXTPTabClientWnd Client Margin ColorPosted: 30 August 2017 at 6:01am |
|
When specifying a client margin using
How do I control the color of the margin in the Office theme? -cpede |
|
|
Product: Xtreme ToolkitPro (24.0.0)
Platform: Windows 10 (x64) Language: Visual Studio 2017 (C++) |
|
![]() |
|
cpede
Senior Member
Joined: 13 August 2004 Location: Denmark Status: Offline Points: 683 |
Post Options
Thanks(0)
Quote Reply
Posted: 04 September 2017 at 2:00am |
|
Any comments from CJ?
-cpede
|
|
|
Product: Xtreme ToolkitPro (24.0.0)
Platform: Windows 10 (x64) Language: Visual Studio 2017 (C++) |
|
![]() |
|
olebed
Senior Member
Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
Post Options
Thanks(0)
Quote Reply
Posted: 05 September 2017 at 9:17am |
|
Hello cpede,
This color is defined in method GetItemColor() (for Office2013 it is CXTPTabColorSetVisualStudio2012::GetItemColor()) it is taken from CXTPTabPaintManagerColorSet::m_clrButtonSelected. If you need other color than tab background then you can redefine or change method CXTPTabPaintManagerColorSet::FillClient() Regards, Oleksandr Lebed |
|
![]() |
|
cpede
Senior Member
Joined: 13 August 2004 Location: Denmark Status: Offline Points: 683 |
Post Options
Thanks(0)
Quote Reply
Posted: 05 September 2017 at 11:09am |
|
Hi,
Sorry not being totally clear here. The color I'm looking to change is the color appearing when you set a margin to the CXTPTabClientWnd using:
In this example the white'ish RGB(240, 240, 240) in all themes under the tab: ![]() -cpede
|
|
|
Product: Xtreme ToolkitPro (24.0.0)
Platform: Windows 10 (x64) Language: Visual Studio 2017 (C++) |
|
![]() |
|
olebed
Senior Member
Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
Post Options
Thanks(0)
Quote Reply
Posted: 05 September 2017 at 3:38pm |
|
in RibbonMDISample ![]()
|
|
![]() |
|
cpede
Senior Member
Joined: 13 August 2004 Location: Denmark Status: Offline Points: 683 |
Post Options
Thanks(0)
Quote Reply
Posted: 06 September 2017 at 10:10am |
|
OK, this seems to work when the m_clientFrame is not xtpTabFrameNone.
But I don't want the border, so what if the following is set?
In this case CXTPTabPaintManagerColorSet::FillClient is never called? -cpede
|
|
|
Product: Xtreme ToolkitPro (24.0.0)
Platform: Windows 10 (x64) Language: Visual Studio 2017 (C++) |
|
![]() |
|
cpede
Senior Member
Joined: 13 August 2004 Location: Denmark Status: Offline Points: 683 |
Post Options
Thanks(0)
Quote Reply
Posted: 18 September 2017 at 2:29am |
|
Any comments from CJ?
-cpede
|
|
|
Product: Xtreme ToolkitPro (24.0.0)
Platform: Windows 10 (x64) Language: Visual Studio 2017 (C++) |
|
![]() |
|
cpede
Senior Member
Joined: 13 August 2004 Location: Denmark Status: Offline Points: 683 |
Post Options
Thanks(0)
Quote Reply
Posted: 22 November 2017 at 3:39am |
|
Still a problem in v18.2.0.
-cpede
|
|
|
Product: Xtreme ToolkitPro (24.0.0)
Platform: Windows 10 (x64) Language: Visual Studio 2017 (C++) |
|
![]() |
|
adamg
Groupie
Joined: 16 July 2018 Status: Offline Points: 32 |
Post Options
Thanks(0)
Quote Reply
Posted: 30 December 2018 at 10:29am |
|
and in 18.6 as well, how to get gap free MDI Tabs? Adam
|
|
![]() |
|
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 |