Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Keeping tab appearance, but changing color theme
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Keeping tab appearance, but changing color theme

 Post Reply Post Reply
Author
Message
dennisV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 October 2004
Location: Australia
Status: Offline
Points: 242
Post Options Post Options   Thanks (0) Thanks(0)   Quote dennisV Quote  Post ReplyReply Direct Link To This Post Topic: Keeping tab appearance, but changing color theme
    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)
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 10 July 2008 at 12:38pm
Hi,
 
its not possible :( Office2007 appearance uses bitmaps to draw tabs.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
dennisV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 October 2004
Location: Australia
Status: Offline
Points: 242
Post Options Post Options   Thanks (0) Thanks(0)   Quote dennisV Quote  Post ReplyReply Direct Link To This Post 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)
Back to Top
dennisV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 October 2004
Location: Australia
Status: Offline
Points: 242
Post Options Post Options   Thanks (0) Thanks(0)   Quote dennisV Quote  Post ReplyReply Direct Link To This Post 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)
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.047 seconds.