Difference between revisions of "LCL Defines"
Sekelsenmat (talk | contribs) |
Sekelsenmat (talk | contribs) |
||
Line 17: | Line 17: | ||
PassWin32MessagesToLCL - Allows the use of user messages, i.e. messages greater then WM_USER + 32 I think? | PassWin32MessagesToLCL - Allows the use of user messages, i.e. messages greater then WM_USER + 32 I think? | ||
+ | |||
WindowsUnicodeSupport - Toggles on experimental Unicode support on Windows. | WindowsUnicodeSupport - Toggles on experimental Unicode support on Windows. |
Revision as of 04:01, 28 November 2006
This page documents the defines that can be utilized to recompile the different widgetsets of LCL. It isn´t a compreensive list, but may become one as more defines are added.
Why use defines?
Defines allow to add non-standard functionality to LCL, test experimental features or to add debug output that helps testing the widgetsets.
Recompiling LCL with a define
To recompile LCL with a special define go to the Lazarus menu Tools -> "Configure Build Lazarus"
There add -d<DEFINE_NAME> on the Options box.
So if you wish to add the PassWin32MessagesToLCL define, you will add -dPassWin32MessagesToLCL to this box.
Win32 defines
PassWin32MessagesToLCL - Allows the use of user messages, i.e. messages greater then WM_USER + 32 I think?
WindowsUnicodeSupport - Toggles on experimental Unicode support on Windows.
WinCE defines
Gtk defines
Qt defines
VerboseQt - Shows extensive debug information about the creation and deletion of Qt objects and LCL Objects.
VerboseQtWinAPI - Shows extensive debug information about the small WinAPI emulation layer implemented by interfaces, utilized througth the LCLIntf unit.