TWinControl.WndProc procedure
Adds special handling for focus and input messages, and notifies the DockManager.
Declaration
procedure WndProc(var Message: TLMessage); overrideArguments
Message | Message examined and handled in the method. |
Description
Handles the following messages:
- LM_SETFOCUS
- Gets the parent form and show this control as focused
- LM_KILLFOCUS
- Removes focus from this control
- LM_NCHITTEST
- Checks the transparency for the control, etc.
- Mouse messages
- Sent to the DockManager (when used).
- CM_THEMECHANGED
- Broadcasts the message received for a theme change event.
Modified in LCL version 3.6 to handle CM_THEMECHANGED messages.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
