Changing the colors of panel caption bars? |
Post Reply |
Author | |
MacW
Senior Member Joined: 26 June 2007 Status: Offline Points: 253 |
Post Options
Thanks(0)
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... |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
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 |
|
MacW
Senior Member Joined: 26 June 2007 Status: Offline Points: 253 |
Post Options
Thanks(0)
|
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... |
|
MacW
Senior Member Joined: 26 June 2007 Status: Offline Points: 253 |
Post Options
Thanks(0)
|
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? |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Guess Panel color is "BtnFace" color you defined in skin.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Smucker
Senior Member Joined: 02 February 2008 Status: Offline Points: 156 |
Post Options
Thanks(0)
|
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) |
|
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 |