TPairSplitterSide.WMPaint procedure
Provides custom handling for LM_PAINT messages in the control.
Declaration
procedure WMPaint(var PaintMessage: TLMPaint); messageArguments
PaintMessage | LM_PAINT message handled for the control. |
Description
WMPaint is an overridden method in
TPairSplitterSide
used to handle a LM_PAINT message received in the default handler for the
control.
WMPaint ensures that the ControlState property is updated to include the csCustomPaint enumeration value. The inherited method is called to dispatch the message, draw the background for the control, and perform the paint message for the device context. The Paint method is called to draw the frame used for the control at design-time. csCustomPaint is removed from ControlState prior to exiting from the method.
No actions are performed in the method if the handle has not been allocated for the control, or when it is being freed.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
