Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - custom colours for Tabs in OneNote style
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

custom colours for Tabs in OneNote style

 Post Reply Post Reply
Author
Message
fredwobus View Drop Down
Newbie
Newbie
Avatar

Joined: 02 September 2004
Location: Austria
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote fredwobus Quote  Post ReplyReply Direct Link To This Post Topic: custom colours for Tabs in OneNote style
    Posted: 07 September 2004 at 8:56am
Hi,

I am using the CXTPTabControl . When using the OneNote colorset I would like to be able to define my own colors.

Can anyone help me how to set my own OneNote Tab colours ?


Thanks, Fred
Back to Top
Sven View Drop Down
Senior Member
Senior Member


Joined: 21 August 2003
Location: Germany
Status: Offline
Points: 127
Post Options Post Options   Thanks (0) Thanks(0)   Quote Sven Quote  Post ReplyReply Direct Link To This Post Posted: 07 September 2004 at 3:43pm
Try to overwrite CXTPTabClientWnd::GetItemColor(CXTPTabManagerIte m* pItem).

Edited by Sven
Back to Top
fredwobus View Drop Down
Newbie
Newbie
Avatar

Joined: 02 September 2004
Location: Austria
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote fredwobus Quote  Post ReplyReply Direct Link To This Post Posted: 08 September 2004 at 4:25am

Thanks for the hint Big smile

I derived my own colorset from CColorSetOffice2003, where I could overload

virtual COLORREF GetItemColor(CXTPTabManagerItem* pItem);

Thanks a lot Sven.

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.066 seconds.