Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Task Panel
  New Posts New Posts RSS Feed - Header color reported is too light
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Header color reported is too light

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


Joined: 16 October 2008
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote BigMitch Quote  Post ReplyReply Direct Link To This Post Topic: Header color reported is too light
    Posted: 16 October 2008 at 8:28pm

m_wndTaskPanel.SetTheme(xtpTaskPanelThemeNativeWinXP);

...
 
CXTPTaskPanelPaintManager* pPaintManager = m_wndTaskPanel.GetPaintManager();

XTP_TASKPANEL_GROUPCOLORS* pGroupColors = pPaintManager->GetGroupColors(TRUE);

COLORREF headerBlue = pGroupColors->clrHead.clrDark;

Trying to get the color from the "special" group header so I can set other controls in my dialog to the same color.  I tried the COLORREF cast operator also, same of course.  On my dev machine it looks a little too dark, on another machine it's way too light, almost white!
 
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.109 seconds.