Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - CXTPDialog Black theme....
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPDialog Black theme....

 Post Reply Post Reply
Author
Message
ddlittle View Drop Down
Senior Member
Senior Member


Joined: 19 February 2004
Location: United States
Status: Offline
Points: 132
Post Options Post Options   Thanks (0) Thanks(0)   Quote ddlittle Quote  Post ReplyReply Direct Link To This Post Topic: CXTPDialog Black theme....
    Posted: 09 November 2012 at 4:58pm
I have a dialog-based .EXE, and i want it to have a Black theme, like the rest of my suite.  I'm using Office2010.dll, using this code:
 
XTPResourceImages()->SetHandle("office2010.dll, Office2010Black.ini");
 
My toolbars and windows backgrounds appear black-themed, but the caption bar is some shade of blue.  It looks OK with a system Aero them, but windows basic or XP, the caption is system default blue, like i'm using VB6 or something.
 
I tried to change the colors using XTPPaintManager->SetColors(), but that had no effect.
 
Any ideas?
 
Thanks!
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 12 November 2012 at 9:35am
maybe you just need pCommandBars->EnableFrameTheme();
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.031 seconds.