Skip to content

GetCurrentSystemTheme Method

Description

The GetCurrentSystemTheme function determines the current Windows XP theme in use.

Syntax

Public Function GetCurrentSystemTheme() As [XTPCurrentSystemTheme](XtremeCalendarControl~Enumerations~XTPCurrentSystemTheme_EN.md)

Return Type

Returns a member of the XTPCurrentSystemTheme enumeration that represents the current Windows theme in use, which can be one of the following values:

  • xtpSystemThemeUnknown - No known theme in use
  • xtpSystemThemeBlue - Blue theme in use
  • xtpSystemThemeOlive - Olive theme in use
  • xtpSystemThemeSilver - Silver theme in use

Remarks

If the operating system used is not Windows XP or if the Blue, Silver, or Olive theme is not used when running Windows XP, then GetCurrentSystemTheme will return xtpSystemThemeUnknown.

See Also


See Also

Skin Framework ActiveX Control v24.0


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.