![]() |
ComboBox & Skin issue |
Post Reply ![]() |
Author | |
prfletcher ![]() Newbie ![]() Joined: 31 July 2006 Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() 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(""));
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
prfletcher ![]() Newbie ![]() Joined: 31 July 2006 Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() |
Thank you
I followed the instructions at the end of this thread, and it worked great!
|
|
![]() |
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 |