Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - XP Style buttons, etc
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

XP Style buttons, etc

 Post Reply Post Reply
Author
Message
douglashogan View Drop Down
Groupie
Groupie


Joined: 02 July 2003
Location: Switzerland
Status: Offline
Points: 62
Post Options Post Options   Thanks (0) Thanks(0)   Quote douglashogan Quote  Post ReplyReply Direct Link To This Post Topic: XP Style buttons, etc
    Posted: 03 May 2006 at 7:02am

Hi, I have the Windows XP style enabled on my desktop.

All applications including Paint, Notepad, Codejock samples, etc use the new style buttons.

My applications are all old style with the square grey buttons.

What am I doing wrong????

 

Regards
Douglas Hogan
Back to Top
ABuenger View Drop Down
Newbie
Newbie
Avatar

Joined: 02 February 2006
Status: Offline
Points: 1075
Post Options Post Options   Thanks (0) Thanks(0)   Quote ABuenger Quote  Post ReplyReply Direct Link To This Post Posted: 03 May 2006 at 8:15am

I guess you have to add a manifest to your executable.

Back to Top
douglashogan View Drop Down
Groupie
Groupie


Joined: 02 July 2003
Location: Switzerland
Status: Offline
Points: 62
Post Options Post Options   Thanks (0) Thanks(0)   Quote douglashogan Quote  Post ReplyReply Direct Link To This Post Posted: 03 May 2006 at 9:01am

Yeah, thanks, figured it out.

Also, codejock seem to use the following code in their stdafx.h samples....

#if (_MSC_VER > 1310) // VS2005

#pragma comment(linker, "\"/manifestdependency:type='Win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='X86' publicKeyToken='6595b64144ccf1df' language='*'\"")

#endif

Nice...

Regards
Douglas Hogan
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.158 seconds.