Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Skin Framework
  New Posts New Posts RSS Feed - ComboBox & Skin issue
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

ComboBox & Skin issue

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


Joined: 31 July 2006
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote prfletcher Quote  Post ReplyReply Direct Link To This Post Topic: ComboBox & Skin issue
    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(""));
 
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
prfletcher View Drop Down
Newbie
Newbie


Joined: 31 July 2006
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote prfletcher Quote  Post ReplyReply Direct Link To This Post Posted: 01 August 2006 at 6:51am
Thank you
 
I followed the instructions at the end of this thread, and it worked great!
 
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.156 seconds.