Print Page | Close Window

xp style and classic style

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


Topic: xp style and classic style
Posted By: msamocha
Subject: xp style and classic style
Date Posted: 04 July 2005 at 8:31am

Hi

Does anyone know of a way to determine at runtime whether the system has XP style buttons and windows (and not classic style) ?

I cannot just get the OS version because the user can have Win XP and still have  ?the old classic non xp style buttons.

I need this because I would like to use XT special buttons but only on platforms without the XP style windows and buttons, and not on platforms with classic style ie only on win 2000 or winXP with Classic style selected in the display properties

 

Thanks for any info

Moshe

 




Replies:
Posted By: Chilly32
Date Posted: 04 July 2005 at 9:35am

XTPCurrentSystemTheme systemTheme = XTPColorManager()->GetCurrentSystemTheme();

if(systemTheme == xtpSystemThemeBlue || systemTheme == xtpSystemThemeOlive || systemTheme == xtpSystemThemeSilver)

// XP theme is on, do your thing... :)

 




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