Print Page | Close Window

CXTPDialog Black theme....

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=20290
Printed Date: 18 June 2025 at 9:48am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPDialog Black theme....
Posted By: ddlittle
Subject: CXTPDialog Black theme....
Date 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!



Replies:
Posted By: SuperMario
Date Posted: 12 November 2012 at 9:35am
maybe you just need pCommandBars->EnableFrameTheme();



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net