Print Page | Close Window

I just want an XP Button (Simple 10 second answer)

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=7550
Printed Date: 19 August 2025 at 7:17pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: I just want an XP Button (Simple 10 second answer)
Posted By: Kurisu
Subject: I just want an XP Button (Simple 10 second answer)
Date Posted: 06 July 2007 at 6:33pm
Alright I just want an XP style button... CXTButton.... to look like the Win XP Theme... I'm honestly getting sick and tired of looking at that Button sample.... I've tried setting theme of the button and ButtonXStyle and all that crap.. and tried repeatidly re-reading that sample, but I can't figure out the basic requirements  when the "Enable Windows XP Themes" checkbox is hit... I don't want OfficeXP or Office2003 which somehow I got... just the simple cheesy XP buttons... sorry, but i'm going crazy looking at that simple sample yet can't figure it out....thanks..



Replies:
Posted By: Oleg
Date Posted: 07 July 2007 at 3:02am

Hello,

1. First you need enable manifest (search manifest word in this forum)
2. Add BS_XT_WINXP_COMPAT style for button:
m_btn1.SetXButtonStyle(BS_XT_WINXP_COMPAT );


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


Posted By: Kurisu
Date Posted: 07 July 2007 at 5:44pm
Thank You!  The first step is something I definitely was not doing!  Will check 'er out.. thanks a million.



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