Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

Using Themes

With Windows XP, Windows themes were introduced. Windows themes can be selected by the user using the Control Panel.

If a theme is selected, the display of user interface controls, such as SftTree/OCX, adapts to the current display theme. Themes can provide various display styles for the same control. With themes active, Windows renders (paints) the control:

Without ThemesWindows XP (and above) With Themes

By using the UseThemes property, SftTree/OCX adapts to the current theme used. If set to False, themes are not honored and the control is rendered using the built-in style.

SftTree/OCX makes it easy to use the same application across all supported platforms. If Windows themes are not available, the control will simply use its built-in display style, otherwise it will fully exploit Windows themes.

To prepare an application for proper themes support, the control should be designed and tested under Windows XP, Windows Vista, Windows 7 or newer. It should be viewed both with and without themes to make sure that the defined control is visually satisfactory in both cases.

Controls designed for use on a Windows version with themes will work identically on all other platforms, even when themes support is not available.

Keep in mind that numerous control definitions, particularly relating to colors, have no effect when themes are active. You can find out if a specific control setting has any effect with themes active by consulting the detail information in this documentation.


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.


Spring Break!

Our offices will be closed this week (March 18 through March 22).

We'll be back March 24 to address any pending sales and support issues.