![]() |
Themes |
Post Reply ![]() |
Author | |
gmail ![]() Groupie ![]() Joined: 24 February 2008 Status: Offline Points: 45 |
![]() ![]() ![]() ![]() ![]() Posted: 09 April 2009 at 6:02am |
I'm using this to set the theme of my command bars:
CXTPPaintManager::SetTheme(xtpThemeRibbon); and while changing theme (application wide) I'm using: XTPSkinManager()->LoadSkin(_T("theme.cjstyles"),_T("sub_theme.ini")); and my command bars remains blue (although other application parts switch colors)? What's the problem here? |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Ribbon use own colors. See RibbbonSample it shows how switch them.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
gmail ![]() Groupie ![]() Joined: 24 February 2008 Status: Offline Points: 45 |
![]() ![]() ![]() ![]() ![]() |
Already done that, but you're only using Office2007 themes (Aqua,Silver,Black,Blue). I have a lot of themes in external files which I'm loading at random and how to make them work with ribbon style?
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
You only can make some internal array and specify what colors of Ribbon match better with styles you have. And switch to this color after you load skin.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
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 |