Print Page | Close Window

Changing the colors of panel caption bars?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Skin Framework
Forum Description: Topics Related to Codejock Skin Framework
URL: http://forum.codejock.com/forum_posts.asp?TID=11633
Printed Date: 23 November 2024 at 1:52am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Changing the colors of panel caption bars?
Posted By: MacW
Subject: Changing the colors of panel caption bars?
Date Posted: 29 July 2008 at 7:03am
Hi,

XTP 12.1.
I'm using the Office 2007 Black skin (but this is also a topic for other skins) and I wonder how I can change the color used for the caption bars.

Is the only way to do this to create a completely new skin?

The caption bar (see screen shot below) should be roughly the same color as the window background used in the panel:



And I would also like to change the scroll bars from silver to dark gray...




Replies:
Posted By: Oleg
Date Posted: 29 July 2008 at 8:21am
Hi,
 
try to play with different themes of DockingPanes... maybe WinXP theme will look better than Office2003 for you.


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


Posted By: MacW
Date Posted: 29 July 2008 at 8:50am
Hi, Oleg

so the only way to make this "right" would be to make a new skin, and to create new custom bitmaps for the captions etc.

I know that you have added a skin builder to XTP recently. Very good.
Is there a documentation how to use it?

My first quick attempt (starting with a clone of the Office 2007 theme) was not fruitful. Loading my new skin with LoadSkin gave me blank captions etc. in the main frame, looking as if XTP was not finding the resources. But the cjstyles DLL contains all the resources. I don't know where to look to find the reason for this, and there is no doc for the SkinBuilder...


Posted By: MacW
Date Posted: 29 July 2008 at 12:00pm
xtpPaneThemeNativeWinXP works better, yet still the panel frame colors are much to light, and also the "bars" shown when panels are closed. I need control over these colors too.

Are these colors controlled via a Theme, a Skin, or a ColorSet?


Posted By: Oleg
Date Posted: 30 July 2008 at 8:27am
Hi,
 
Guess Panel color is "BtnFace" color you defined in skin.


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


Posted By: Smucker
Date Posted: 30 July 2008 at 11:12am
I think it uses active/inactive small caption of skin if you use the docking theme xtpPaneThemeNativeXP (or don't set a docking pane theme).

If you use a different docking pane theme, the skin colors or bitmaps will be ignored for inactive panes.




-------------
Product: Xtreme Toolkit Pro version 13.2 (Unicode, static build)

Platform: Windows 200x/XP/Vista/Win7 (32/64 bit)

Language: Visual C++ 9.0 (Studio 2008)




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