![]() |
I just want an XP Button (Simple 10 second answer) |
Post Reply ![]() |
Author | |
Kurisu ![]() Newbie ![]() Joined: 28 February 2007 Status: Offline Points: 9 |
![]() ![]() ![]() ![]() ![]() 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..
![]() ![]() ![]() |
|
![]() |
|
Oleg ![]() Senior Member ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
Kurisu ![]() Newbie ![]() Joined: 28 February 2007 Status: Offline Points: 9 |
![]() ![]() ![]() ![]() ![]() |
Thank You! The first step is something I definitely was not doing! Will check 'er out.. thanks a million.
|
|
![]() |
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 |