![]() |
How to get background color of TaskPanel control? |
Post Reply
|
| Author | |
cjsnewbie
Groupie
Joined: 24 October 2006 Status: Offline Points: 17 |
Post Options
Thanks(0)
Quote Reply
Topic: How to get background color of TaskPanel control?Posted: 09 April 2007 at 10:43am |
|
Hi,
I want to paint one frame with the same background color as task panel. I'm using CXTPTaskPanel class to create task panel. How do I get exact background color of bottom part of task panel? Thanks. |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 10 April 2007 at 12:10am |
|
Hello,
There is CXTPTaskPanelPaintManager::m_clrBackground property, but its protected :(
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
rdhd
Senior Member
Joined: 13 August 2007 Location: United States Status: Offline Points: 954 |
Post Options
Thanks(0)
Quote Reply
Posted: 07 September 2007 at 10:33am |
|
Subclass from the painter and implement, e.g., GetBackground() and simply return the background member. The background is a struct that has a lite and dark color which can be directly accessed (public members).
|
|
![]() |
|
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 |