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)
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
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
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)
|
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
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
wndTaskPanel.ColorSet.NormalGroupCaptionTextNormal = vbRed
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
cpede
Senior Member Joined: 13 August 2004 Location: Denmark Status: Offline Points: 668 |
Post Options
Thanks(0)
|
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: 668 |
Post Options
Thanks(0)
|
Please help I need to customize the TaskBar using different colors, but I cannot find the ColorSet described?
-cpede
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
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: 668 |
Post Options
Thanks(0)
|
But what about something as simple as:
pPaintManager->m_clrBackground
which seem to be protected?
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
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 |