![]() |
how to change title colors? |
Post Reply
|
| Author | |
aimcorp
Groupie
Joined: 20 September 2007 Location: Puerto Rico Status: Offline Points: 21 |
Post Options
Thanks(0)
Quote Reply
Topic: how to change title colors?Posted: 01 October 2007 at 7:15pm |
|
This code set a red color to the first item of the group
Set Group = wndTaskPanel.Groups.Add(1, "More used Reports")
Group.Items.Add ID_CEI, "Show Payroll", xtpTaskItemTypeLink, 1 Group.Items.Add ID_CEI, "Show Payroll by Employee", xtpTaskItemTypeLink, 2 Group.Items(1).TextColor = &HC0& <<<red color to the first item but how I set the color to the title of the group: "More used Reports"
I looked the help file, but was unable to find the instruction.
any help greatly appreciated!
ariel
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 02 October 2007 at 1:11am |
|
Hi,
See NormalGroupCaptionTextNormal property of TaskPanelColorSet class.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
aimcorp
Groupie
Joined: 20 September 2007 Location: Puerto Rico Status: Offline Points: 21 |
Post Options
Thanks(0)
Quote Reply
Posted: 02 October 2007 at 2:50pm |
|
It is too much to ask for specific code using the above?
we still don't find the way!
Sorry, but thy that doesn' t know is like thy that doesn't see!
![]()
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 03 October 2007 at 1:21am |
|
wndTaskPanel.ColorSet.NormalGroupCaptionTextNormal = vbRed
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
cpede
Senior Member
Joined: 13 August 2004 Location: Denmark Status: Offline Points: 683 |
Post Options
Thanks(0)
Quote Reply
Posted: 06 June 2008 at 6:50am |
|
How to change the TaskPanel colors in v1200, I think something changed since this post?
-cpede
|
|
![]() |
|
cpede
Senior Member
Joined: 13 August 2004 Location: Denmark Status: Offline Points: 683 |
Post Options
Thanks(0)
Quote Reply
Posted: 10 June 2008 at 5:13am |
|
Please help I need to customize the TaskBar using different colors, but I cannot find the ColorSet described?
-cpede
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 11 June 2008 at 1:18am |
|
Hi,
It was question in ActiveX section.
For MFC you need GetPaintManager()->GetGroupColors()
m_wndTaskPanel.GetPaintManager()->GetGroupColors(FALSE)->clrClientLink = RGB(0, 0, 255);
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
cpede
Senior Member
Joined: 13 August 2004 Location: Denmark Status: Offline Points: 683 |
Post Options
Thanks(0)
Quote Reply
Posted: 11 June 2008 at 4:08am |
|
But what about something as simple as:
pPaintManager->m_clrBackground
which seem to be protected?
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 11 June 2008 at 1:36pm |
|
Hi,
For MFC I recommend oevrride PrintManager's class and its RefreshMetrics() and set colors/fonts in this method.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |