XP style check box? |
Post Reply |
Author | |
th.sedlaczek
Newbie Joined: 19 October 2004 Location: United Kingdom Status: Offline Points: 8 |
Post Options
Thanks(0)
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 |
|
xred
Groupie Joined: 24 August 2004 Location: China Status: Offline Points: 28 |
Post Options
Thanks(0)
|
,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 , there are a lot of examples about how to draw windows control! Hope this help! Edited by xred |
|
th.sedlaczek
Newbie Joined: 19 October 2004 Location: United Kingdom Status: Offline Points: 8 |
Post Options
Thanks(0)
|
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 |
|
Ark42
Senior Member Joined: 20 October 2003 Status: Offline Points: 291 |
Post Options
Thanks(0)
|
This isn't another thread about XP manifests again is it? http://www.google.com/search?q=site%3Amicrosoft.com+XP+manif est Edited by Ark42 |
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
I agree, this sounds like a manifest problem Take a look at this post
|
|
xred
Groupie Joined: 24 August 2004 Location: China Status: Offline Points: 28 |
Post Options
Thanks(0)
|
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+ 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: 2004-10-21_051614_XPcheckbox.rar Here is an example about button: screen shot: code: CXPStyleButtonST v1.0 screen shot:
2004-10-21_053313_cxpstylebuttonST.rar By the way, they are not the best!There may be some bugs!
Edited by xred |
|
th.sedlaczek
Newbie Joined: 19 October 2004 Location: United Kingdom Status: Offline Points: 8 |
Post Options
Thanks(0)
|
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 |
|
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 |