LMD 2007 - Compiler Switches
<< Back to Main Page or Product Resources page
Introduction
Location of the global compiler switches which are shared by all major and standalone LMD packages is lmdcmps.inc in lmdrtl subfolder. The following sections describe the use and functionality of main compiler switches.
Themes Related Switches
LMD 2007 runtime modules provide an operating system independent Theme/Skinning engine which can be turned on/off by using the LMDDISABLE_LMDTHEMEENGINE compiler switch.
LMDDISABLE_LMDTHEMEENGINE Turns off standalone/native LMD 2007 Theme engine.
LMDDISABLE_LMDTHEMES Relevant only, when LMDDISABLE_LMDTHEMEENGINE is enabled (and native theme engine is disabled). Turns off use of LMDXPStyles unit in order to use UxTheme unit instead (which is included from Delphi 7 and higher by default).
Dependencies
To use standard XP theming in Delphi/CBuilder 5 and 6, LMDDISABLE_LMDTHEMES should be undefined (OR: you have installed XP ThemeManager by Mike Lischke which provides UxTheme unit as well).
If LMDDISABLE_LMDTHEMES is defined, then LMDDISABLE_LMDTHEMEENGINE becomes defined too which turns off the LMD 2007 Theme engine.