![]() |
Background of CXTPTabCtrl modification needed ... |
Post Reply
|
| Author | ||
kiroecke
Groupie
Joined: 02 July 2008 Location: Germany Status: Offline Points: 12 |
Post Options
Thanks(0)
Quote Reply
Topic: Background of CXTPTabCtrl modification needed ...Posted: 14 January 2026 at 5:30am |
|
|
Hello,
the background behind the tab-headers in my CXTPTabCtrl remains grey whatever I try. My last check was
The code was stepped through in the debugging, but the area remained grey. Any suggestions are welcome! ![]() Best, Kai ![]() |
||
![]() |
||
xsensordev
Groupie
Joined: 19 August 2021 Location: Canada Status: Offline Points: 31 |
Post Options
Thanks(0)
Quote Reply
Posted: 22 hours 20 minutes ago at 4:08pm |
|
|
I'm going to assume a somewhat recent version of the Toolkit, and I'm guessing you're using the base theme for that control.
Try setting a breakpoint in CXTPTabBaseTheme::FillHeader or any of the other FillHeader functions to see what's happening. By the way, that strip you want to fill is not distinguished from the tabs. You'd have to modify the FillHeader function (for whichever theme is being applied) to perform your own painting of the strip. |
||
![]() |
||
kiroecke
Groupie
Joined: 02 July 2008 Location: Germany Status: Offline Points: 12 |
Post Options
Thanks(0)
Quote Reply
Posted: 10 hours 48 minutes ago at 3:40am |
|
|
Hello,
thank you so much for your help. Anyways, the mentioned ::FillHeader() function is protected and can't be invoked by user code. And, yes, I'm using v24.3.0 of Toolkit Pro. Any further help is highly appreciated! Best regards, K. ![]() |
||
![]() |
||
xsensordev
Groupie
Joined: 19 August 2021 Location: Canada Status: Offline Points: 31 |
Post Options
Thanks(0)
Quote Reply
Posted: 1 hour 50 minutes ago at 12:38pm |
|
|
My solution to Toolkit protected code was to realize I didn't need anyone's permission to modify that code directly.
I modify their code as I need and rebuild the DLL or static lib. I track my changes so that I can reapply them as new Toolkit versions come out. For example,
|
||
![]() |
||
xsensordev
Groupie
Joined: 19 August 2021 Location: Canada Status: Offline Points: 31 |
Post Options
Thanks(0)
Quote Reply
Posted: 1 hour 47 minutes ago at 12:41pm |
|
|
Here's a visual of that Office2016 tab.
![]() |
||
![]() |
||
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 |