WinXP style for CXTColorDialog? |
Post Reply |
Author | |
Sstar9
Newbie Joined: 25 August 2006 Status: Offline Points: 25 |
Post Options
Thanks(0)
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
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hello,
Try Samples\Controls\ColorPicker\ColorPicker sample. For me it looks adapted. What you don't like?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Sstar9
Newbie Joined: 25 August 2006 Status: Offline Points: 25 |
Post Options
Thanks(0)
|
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
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi. Manifest file must be added to VB exectuable. it is only one solution.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Sstar9
Newbie Joined: 25 August 2006 Status: Offline Points: 25 |
Post Options
Thanks(0)
|
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
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hello,
Word supports isolated manefests.
search in google information about ISOLATION_AWARE_ENABLED macros.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
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 |