Function IsThemeActive() Foundation
Tests whether visual Styles are enabled.
IsThemeActive( [<lCheckApp>] [,<nAppStyles>]) --> lActive
This function returns a logical value that indicates whether visual styles are enabled or not. The specific meaning of the return value depends on the setting in parameter <lCheckApp>:
If the value .F. (false) is passed in <lCheckApp>, IsThemeActive() checks if visual styles are generally available on the current platform. In this mode, IsThemeActive() returns .T. (true) if styles are supported by the operating system and are currently enabled in Control Panel. Otherwise, the function returns .F..
If .T. is passed in parameter <lCheckApp>, IsThemeActive() also verifies if the Xbase++ application is run in themed mode. In this mode, the function only returns .T. if the following conditions are met:
The environment function IsThemeActive() checks whether visual styles are currently enabled for the application. Furthermore, the function can be used to determine whether the operating system generally supports visual styles. If visual styles are enabled, user interface elements are displayed using special designs that can selected via Control Panel. For example, push button or group box objects are drawn with rounded borders when styles are enabled. IsThemeActive() is generally used by Xbase++ applications that implement custom drawing for their user interface elements.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.