Print Page | Close Window

Keeping tab appearance, but changing color theme

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=11383
Printed Date: 12 July 2025 at 11:59am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Keeping tab appearance, but changing color theme
Posted By: dennisV
Subject: Keeping tab appearance, but changing color theme
Date Posted: 10 July 2008 at 10:34am
Hello all,

Is it possible to keep the MDI tab style (Office2007 style), but change the color of it (and the rest of the app) to something else, for example Office 2003 or Whidbey (doesn't matter, of course)?

When I do this in my main frame:

XTPPaintManager()->SetTheme(xtpThemeWhidbey);
m_MTIClientWnd.GetPaintManager()->SetColor(xtpTabColorWhidbey);


the tabs change their appearance as well as their color. But I'd like to only change the color and keep their appearance.

Thanks in advance,

   Dennis


-------------
// W7 64 Ultimate SP1
// VS 2008
// CodeJock 16.2.3 (MFC)



Replies:
Posted By: Oleg
Date Posted: 10 July 2008 at 12:38pm
Hi,
 
its not possible :( Office2007 appearance uses bitmaps to draw tabs.


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


Posted By: dennisV
Date Posted: 10 July 2008 at 4:32pm
Originally posted by oleg oleg wrote:

Hi,
 
its not possible :( Office2007 appearance uses bitmaps to draw tabs.

Ah, that explains it...

Ok, is it possible to make the other (non-Office2007) tabs not overlap each other so much, because they cover a bit of the last letter of the previous tab and I don't want that?

Thanks!


-------------
// W7 64 Ultimate SP1
// VS 2008
// CodeJock 16.2.3 (MFC)


Posted By: dennisV
Date Posted: 10 July 2008 at 6:01pm
Or, if I could change the black Office2007 to something else (non-black) on the fly, that would suit me very well. I'm linking statically though, so not sure if it's possible?


-------------
// W7 64 Ultimate SP1
// VS 2008
// CodeJock 16.2.3 (MFC)



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