Print Page | Close Window

WinXP style for CXTColorDialog?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=5360
Printed Date: 28 September 2024 at 9:13am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: WinXP style for CXTColorDialog?
Posted By: Sstar9
Subject: WinXP style for CXTColorDialog?
Date Posted: 25 October 2006 at 10:27pm
Hello,
 
I am using Xtreme Controls 2006 Q3.
 
I found that the CXTColorDialog does not automatically adapt to the Windows Theme and Color Themes.
 
How could I make my CXTColorDialog object adaptive to the User's Window theme, for example, the Windows XP style?
 
 


-------------
Sharing makes life better



Replies:
Posted By: Oleg
Date Posted: 26 October 2006 at 12:12am
Hello,
 
Try Samples\Controls\ColorPicker\ColorPicker sample. For me it looks adapted. What you don't like?


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


Posted By: Sstar9
Date Posted: 26 October 2006 at 2:34am
Hi, Oleg,
 
I take a look at the Color Picker sample, again. You are right, the Color selector showing in the sample is XP- style in my PC.
 
To test this, I tried to create another much simpler MFC exe to test the XP style. Initially I could not see the correct XP style showing. But after I did the following,
 
1. Copy samples\AboutDlg\res\Manifest.xml to my App\res folder;
2. in my app.rc file, add the following line
 
1 24 DISCARDABLE "res\\manifest.xml" 
 
I am able to see the XP-style in my Dialog. 
 
However, in my case, I am creating a MFC dll which will be consumed in a VB application. Adding Manifest.xml does not work. Oleg, do you have any suggestions for it?
 


-------------
Sharing makes life better


Posted By: Oleg
Date Posted: 26 October 2006 at 5:59am

Hi.

Manifest file must be added to VB exectuable. it is only one solution.


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


Posted By: Sstar9
Date Posted: 26 October 2006 at 11:41pm
Hello Oleg,
 
Thank you for your answer.  Could you let me know the following answers as well?
 
How should the Manifest be added to VB EXE App? Would using the "Add file" option and selecting the Manifest to add be sufficient?
 
 
For my case, I am building Addin component to Ms Word.  In which,
 
An Addin template in Word 
CALLS
An VB ActiveX DLL
CALLS
MFC DLL  using the CodeJock library.
 
The only EXE in the above is Ms Word.exe , which is not under our control. Does that mean, in our case , there is no solution for us to configure for the Win XP style?


-------------
Sharing makes life better


Posted By: Oleg
Date Posted: 27 October 2006 at 12:10am
Hello,
Word supports isolated manefests.
 
search in google information about ISOLATION_AWARE_ENABLED macros.
for example: http://groups.google.com/group/microsoft.public.platformsdk.shell/msg/a1ef35d08af7ccbf - http://groups.google.com/group/microsoft.public.platformsdk.shell/msg/a1ef35d08af7ccbf


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



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