Print Page | Close Window

ComboBox & Skin issue

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Skin Framework
Forum Description: Topics Related to Codejock Skin Framework
URL: http://forum.codejock.com/forum_posts.asp?TID=4687
Printed Date: 27 May 2024 at 10:42am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: ComboBox & Skin issue
Posted By: prfletcher
Subject: ComboBox & Skin issue
Date Posted: 31 July 2006 at 2:13pm

Following the SkinControls sample I tried to make a Dialog application with a combo box in it. The combo box highlight (selected) color is still blue. The rest of the dialog looks correct.

In the SkinControls program it shows up the program color (Orange in this case since I am using the Office2007.cjstyles which is in the working directory)
 
 
This program is a bare AppWizard created Dialog, all I have added was one combo (drop list type) with a few items in it. And the following lines of code:
 
// StdAfx.h (at bottom of file):
 
#include <XTToolkitPro.h>
 
// ComboTestDlg.cpp (in Dialog constructor):
 
XTPSkinManager()->SetApplyOptions(xtpSkinApplyMetrics | xtpSkinApplyFrame | xtpSkinApplyColors);
XTPSkinManager()->LoadSkin(_T("Office2007.cjstyles"), _T(""));
 



Replies:
Posted By: Oleg
Date Posted: 31 July 2006 at 3:24pm
Hello,
To use colors from cjstyle you need to add manefest.. Search "manifest" in this forum. but unfortunatelly it will work only for Windows XP....


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: prfletcher
Date Posted: 01 August 2006 at 6:51am
Thank you
 
I followed the instructions at the end of this thread, and it worked great!
 
http://forum.codejock.com/forum_posts.asp?TID=1214&KW=manifest - http://forum.codejock.com/forum_posts.asp?TID=1214&KW=manifest



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