TWinControl.EraseBackground procedure
Fills the display rectangle for the control with the color and pattern in Brush.
Declaration
procedure EraseBackground(DC: HDC); virtualArguments
DC | The device context to use; may be clipped to a certain shape. |
Description
EraseBackground is called during Paint requests from the
WMEraseBkgnd method, which provides a valid device context in the DC
argument. No actions are performed in the method when DC contains 0
(unassigned).
The FillRect routine is called to perform the operation using the Width, Height, and the handle in the Brush property.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
