[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
The Paint handler plug-in, intercepting paint requests.
Source position: controls.pp line 2486
protected procedure TCustomControl.PaintWindow( |
DC: HDC |
); override; |
DC |
|
The Device Context used to draw on the Canvas. |
PaintWindow is an overridden method in TCustomControl. It ensures that Canvas has an allocated Handle which matches the device context specified in the DC argument. If the Canvas handle does not match DC, the value in the argument is assigned to Canvas.
PaintWindow calls the Paint method to signal the OnPaint event handler (when assigned).
If Handle value in Canvas was changed in the method, it is reset to 0 (unassigned) prior to exit.
PaintWindow does not call the inherited method.
|
The drawing surface for the control. |
|
|
Implements the default handler used to draw the control. |
|
|
Event handler signalled to paint the control. |
|
|
Paints a clipping region for the control on the specified device context. |
Version 3.2 | Generated 2024-02-25 | Home |