Print Page | Close Window

How to get background color of TaskPanel control?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=6817
Printed Date: 13 November 2025 at 11:56am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to get background color of TaskPanel control?
Posted By: cjsnewbie
Subject: How to get background color of TaskPanel control?
Date 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.



Replies:
Posted By: Oleg
Date Posted: 10 April 2007 at 12:10am
Hello,
 
There is CXTPTaskPanelPaintManager::m_clrBackground property, but its protected :(
 


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: rdhd
Date 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).



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net