Print Page | Close Window

XP Style buttons, etc

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=4114
Printed Date: 05 July 2024 at 2:04pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: XP Style buttons, etc
Posted By: douglashogan
Subject: XP Style buttons, etc
Date 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



Replies:
Posted By: ABuenger
Date Posted: 03 May 2006 at 8:15am

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



Posted By: douglashogan
Date 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



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