TCustomControl.WMPaint procedure
Handles LM_PAINT messages for the control.
Declaration
procedure WMPaint(var Message: TLMPaint); messageArguments
Message | Message handled in the method. |
Description
Re-implements the method from the ancestor class to update ControlState prior to handling the specified Message. Includes the value csCustomPaint in ControlState before calling the inherited method. Removes csCustomPaint from ControlState after the message has been handled.
No actions are performed in the method when the control is being freed, or when a Handle has not been allocated for the control.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
