Vcl.Forms.TScrollBox.PaintWindow

From RAD Studio API Documentation
Jump to: navigation, search

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 TScrollBox

Description

Renders the image of a windowed control.

Vcl.Forms.TScrollBox.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.

See Also