Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - How to change the color
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to change the color

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


Joined: 14 January 2008
Location: Taiwan
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote cmhse Quote  Post ReplyReply Direct Link To This Post Topic: How to change the color
    Posted: 21 January 2008 at 12:45am

problem 1:

It will be orange after mouse click.

But I hope that it don't change the color.

How to do?

problem 2:
when I click the item "2" in "Group",the color will be orange.
Can I change the color?
How to do?
Back to Top
cmhse View Drop Down
Newbie
Newbie


Joined: 14 January 2008
Location: Taiwan
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote cmhse Quote  Post ReplyReply Direct Link To This Post Posted: 22 January 2008 at 4:12am
These problems have no reply whether It can't do the capability.
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


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: 22 January 2008 at 5:50am
Hello,
 
As I wrote please check TabManager sample - if you don't like orange just don't enable "Luna Color" option.  Check, may be OneNote color option will work better for you. or PropetyPage2003 appearance.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
cmhse View Drop Down
Newbie
Newbie


Joined: 14 January 2008
Location: Taiwan
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote cmhse Quote  Post ReplyReply Direct Link To This Post Posted: 30 January 2008 at 1:30am
But I hope the "Tab" is blue. Just click the "Tab" that don't change the color.
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


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: 30 January 2008 at 7:12am
Hi,
1. create class derived from CXTPTabPaintManager::CColorSetOffice2003,
2. override its RefreshMetrics() method,
3. call original method
4. add
m_clrButtonSelected = m_clrButtonNormal
5. apply this colorset.
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.070 seconds.