Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - Colored Tabs
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Colored Tabs

 Post Reply Post Reply
Author
Message
mzuber View Drop Down
Newbie
Newbie


Joined: 03 May 2006
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote mzuber Quote  Post ReplyReply Direct Link To This Post Topic: Colored Tabs
    Posted: 03 May 2006 at 11:29am

I have been trying in vain to set the color of individual tabs. While I did find a method to access the different CXTPTabManagerItems, setting the color with SetColor didn't work, because the tabs were set back to the default color( as specified by the TabManager's ColorSet ).  Likewise, if I change the CXTPTabPaintManager's ColorSet, then it changes the color of all of the tabs.  Is there a way, without modifying the codejock classes, to change the colors of individual tabs to specific RGB values?

Thanks for any help you can provide.

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: 03 May 2006 at 4:00pm

Hello,

Try to call pPane->SetItemColor(..).   but guess it will work only for Office2003 theme with OneNote enabled.

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.140 seconds.