Vcl.Forms.TCustomFrame.PaintWindow
Delphi
procedure PaintWindow(DC: HDC); override;
C++
virtual void __fastcall PaintWindow(HDC DC);
Properties
| Type | Visibility | Source | Unit | Parent | 
|---|---|---|---|---|
| procedure function | protected | Vcl.Forms.pas Vcl.Forms.hpp | Vcl.Forms | TCustomFrame | 
Description
Renders the image of a windowed control.
Vcl.Forms.TCustomFrame.PaintWindow inherits from Vcl.Controls.TWinControl.PaintWindow. All content below this line refers to Vcl.Controls.TWinControl.PaintWindow.
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.