(SOLVED) HOWTO: CXTPTabControl Hilite current tab |
Post Reply |
Author | |
mgampi
Senior Member Joined: 14 July 2003 Status: Offline Points: 1201 |
Post Options
Thanks(0)
Posted: 03 April 2017 at 12:06pm |
Hi;
I have two CXTPTabControl instances within one dialog. I want the focused control to be "more visible"; therefore I want the focused tab control to colorize its currently focused tab only. When the focus changed to the second instance, the first should remove coloring and the second one colorizes its active tab. Drawing the focus rectangle on the active tab of the focused instance isn't enough due to bad visibility. Can this be done with the currently available feature set? How? |
|
Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
Alex H.
Senior Member Joined: 12 February 2004 Status: Offline Points: 266 |
Post Options
Thanks(1)
|
Hi!
You could use your own colorset. I'm not sure if this will work with CXTPTabControl too. m_wndMDITabWindow.GetPaintManager()->SetColorSet(new CXTPTabColorSetOffice2013Custom()); |
|
mgampi
Senior Member Joined: 14 July 2003 Status: Offline Points: 1201 |
Post Options
Thanks(0)
|
Thanks!
I'll give it a try... |
|
Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
mgampi
Senior Member Joined: 14 July 2003 Status: Offline Points: 1201 |
Post Options
Thanks(0)
|
Thanks, it works!
|
|
Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
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 |