Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - xp style and classic style
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

xp style and classic style

 Post Reply Post Reply
Author
Message Reverse Sort Order
Chilly32 View Drop Down
Newbie
Newbie


Joined: 03 July 2005
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote Chilly32 Quote  Post ReplyReply Direct Link To This Post Topic: xp style and classic style
    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... :)

 

Back to Top
msamocha View Drop Down
Newbie
Newbie
Avatar

Joined: 07 March 2004
Location: Israel
Status: Offline
Points: 30
Post Options Post Options   Thanks (0) Thanks(0)   Quote msamocha Quote  Post ReplyReply Direct Link To This Post 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

 

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.109 seconds.