Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - WinXP style for CXTColorDialog?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

WinXP style for CXTColorDialog?

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


Joined: 25 August 2006
Status: Offline
Points: 25
Post Options Post Options   Thanks (0) Thanks(0)   Quote Sstar9 Quote  Post ReplyReply Direct Link To This Post Topic: WinXP style for CXTColorDialog?
    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
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: 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
Back to Top
Sstar9 View Drop Down
Newbie
Newbie


Joined: 25 August 2006
Status: Offline
Points: 25
Post Options Post Options   Thanks (0) Thanks(0)   Quote Sstar9 Quote  Post ReplyReply Direct Link To This Post 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
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: 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
Back to Top
Sstar9 View Drop Down
Newbie
Newbie


Joined: 25 August 2006
Status: Offline
Points: 25
Post Options Post Options   Thanks (0) Thanks(0)   Quote Sstar9 Quote  Post ReplyReply Direct Link To This Post 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
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: 27 October 2006 at 12:10am
Hello,
Word supports isolated manefests.
 
search in google information about ISOLATION_AWARE_ENABLED macros.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.172 seconds.