Vcl.Controls.TWinControl.PaintWindow

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure PaintWindow(DC: HDC); virtual;

C++

virtual void __fastcall PaintWindow(HDC DC);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TWinControl

Description

Renders the image of a windowed control.

Call PaintWindow to repaint the control. PaintWindow sends a WM_PAINT message to the windowed control's DefaultHandler method, setting the message record's WParam field to the value passed in DC and the other parameter and result fields to zeros.

See Also