[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Controls' (#lcl)

TCustomControl.PaintWindow

Paint handler plug-in

Declaration

Source position: controls.pp line 1840

protected procedure TCustomControl.PaintWindow(

  DC: HDC

); override;

Arguments

DC

  

The Device Context in which to paint

Description

This is a plug-in in TWinControl to get the DC,
assign it to our canvas and call the paint method for
descendants to do the actual painting

See also

TWinControl.PaintWindow

  

PaintWindow - method for painting a window