HeaderPane
Main
Hide
Share Link
Print

UseThemes Property, SftMask Object

Defines whether Windows themes can be used.

Syntax

Get

C#bool Boolean = object.UseThemes;
VB.NETBoolean = object.UseThemes As Boolean
C++VARIANT_BOOL Boolean = object->UseThemes;
VARIANT_BOOL Boolean = object->GetUseThemes();
CHRESULT object->get_UseThemes(VARIANT_BOOL* Boolean);
VBBoolean = object.UseThemes As Boolean

Put

C#bool object.UseThemes = Boolean;
VB.NETobject.UseThemes = Boolean As Boolean
C++VARIANT_BOOL object->UseThemes = Boolean;
void object->PutUseThemes(VARIANT_BOOL Boolean);
CHRESULT object->put_UseThemes(VARIANT_BOOL Boolean);
VBobject.UseThemes = Boolean As Boolean

object

A SftMask object.

Boolean

Defines whether Windows themes can be used.

BooleanDescription
TrueWindows themes can be used.
FalseWindows themes are never used.

Comments

The UseThemes property defines whether Windows themes can be used.

Windows themes are only available on Windows XP (and newer). Older Windows versions do not support Windows themes and this property has no effect.

The ThemeStyle property further defines the handling of background color properties, when Windows themes are used.

See Also SftMask Object | Object Hierarchy


Last Updated 11/03/2026 - (email)
© 2026 Softel vdm, Inc.