[Overview][Types][Classes][Procedures and functions][Index] |
Provides custom handling for LM_PAINT messages in the control.
Source position: pairsplitter.pas line 49
protected procedure TPairSplitterSide.WMPaint( |
var PaintMessage: TLMPaint |
); message; |
PaintMessage |
|
LM_PAINT message handled for the control. |
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.
|
Renders the frame for the control on its Canvas at design-time. |
|
|
Handles all messages that the control doesn't fully handle itself. |
|
|
Contains state flags which indicate whether the control has been clicked, data is being read, or the control is being re-drawn, etc. |
|
|
State flags of a Control. |
|
|
Set of control states used in a control. |
Version 4.0 | Generated 2025-05-03 | Home |