Controls.TWinControl.PaintWindow

From RAD Studio VCL Reference
Jump to: navigation, search

Contents

Delphi Information

From Controls.pas

	procedure PaintWindow(DC: HDC); virtual;


Unit: Controls

Type: method

Visibility: protected

Member Of: TWinControl

C++ Information

From Controls.hpp

	virtual void __fastcall PaintWindow(HDC__ * DC);


Unit: Controls

Type: method

Visibility: protected

Member Of: 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

Personal tools
Translations
Newest Version