Print Page | Close Window

XP style check box?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=1305
Printed Date: 08 July 2024 at 4:14pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: XP style check box?
Posted By: th.sedlaczek
Subject: XP style check box?
Date Posted: 20 October 2004 at 8:15am

Hi all,

 

I have Xtreme toolkit standard and want to make the controls in my CXTResizeDialog appear in XP style. I have changed the button styles like it is shown in the Button example and it worked fine. But I could find the price of code which turns the check boxes, radio buttons and group boxes to XP style. How can I do this???

 

Best regards,

Thomas




Replies:
Posted By: xred
Date Posted: 20 October 2004 at 9:59am

,well, I think you should draw this by yourself, some Xtreme toolkit's classes have virtual functions, you can use them!  there is no crosscut!

However you can visite  http://www.codeguru.com - http://www.codeguru.com  , there are a lot of examples about how to draw windows control!

Hope this help!



Posted By: th.sedlaczek
Date Posted: 20 October 2004 at 10:17am

Hi Xred,

I think there must be an easier way, because if you run the Button example the checkboxes and radio buttons appearing in XP sytle.  I just can not find the pice of code that let this happed.

Regards,

Thomas



Posted By: Ark42
Date Posted: 20 October 2004 at 12:09pm

This isn't another thread about XP manifests again is it?

http://www.google.com/search?q=site%3Amicrosoft.com+XP+manifest - http://www.google.com/search?q=site%3Amicrosoft.com+XP+manif est



Posted By: SuperMario
Date Posted: 20 October 2004 at 12:14pm
I agree, this sounds like a manifest problem  Take a look at https://forum.codejock.com/forum_posts.asp?TID=1214&KW=manifest+ - this post  


Posted By: xred
Date Posted: 21 October 2004 at 5:21am

I agree with SuperMario!

You can add a manifest file to your application, but it only works with Windows XP or +!In fact if

you add a manifest file to your VC6.0 or VC.net ,your IDE may be nicer than before!

Here is about how to add a manifest file!, https://forum.codejock.com/forum_posts.asp?TID=1214&KW=manifest+ - https://forum.codejock.com/forum_posts.asp?TID=1214& KW=manifest+

If you want your application has windows xp style in Windows2000 or 9x,you  should draw this

 by yourself!

Here is an example about checkbox:

screen shot:

code:

https://forum.codejock.com/uploads/xred/2004-10-21_051614_20021116005142_XPButton.rar - 2004-10-21_051614_XPcheckbox.rar

Here is an example about button:

screen shot:

code:

https://forum.codejock.com/uploads/xred/2004-10-21_051914_20021114214325_ButtonDemo.rar - 2004-10-21_051914_Button.rar

CXPStyleButtonST v1.0

screen shot:


code:

https://forum.codejock.com/uploads/xred/2004-10-21_053313_cxpstylebuttonST.rar - 2004-10-21_053313_cxpstylebuttonST.rar

By the way, they are not the best!There may be some bugs!

 



Posted By: th.sedlaczek
Date Posted: 21 October 2004 at 6:02am

Hello Xred,

thank you for your samples.  Yes as far as I have red it is an manifest issue. The only problem I have is that my test application was allready created with common control manifest and this look like all the samples I have seen. So I dont know where the actual problem is. Maybe it is somehow dependent on my system configuration? I will try to solve the problem to night, at the moment I have to do some other work.

Have a nice day and thank you agian for you help!

Greeting from rainy south Wales

Thomas




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