Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - About using CXTButton in BS_XT_WINXP_COMPAT style
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

About using CXTButton in BS_XT_WINXP_COMPAT style

 Post Reply Post Reply
Author
Message
czlai View Drop Down
Groupie
Groupie
Avatar

Joined: 18 December 2006
Location: Taiwan
Status: Offline
Points: 35
Post Options Post Options   Thanks (0) Thanks(0)   Quote czlai Quote  Post ReplyReply Direct Link To This Post Topic: About using CXTButton in BS_XT_WINXP_COMPAT style
    Posted: 12 September 2007 at 1:57am
I wish my button shown as BS_XT_WINXP_COMPAT style, so I wrote
 m_btnOK.SetTheme(xtThemeDefault);
 m_btnOK.SetXButtonStyle(BS_XT_WINXP_COMPAT);
in CDialog::OnInitialDialog()
 
But the button didn't seen like BS_XT_WINXP_COMPAT style, what's wrong ?
 
Thanks for answering.
 
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


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: 12 September 2007 at 5:32am
Hi,
 
Did you add manifest to your app ?
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.078 seconds.