Vcl.Controls.TDockTree.PaintSite

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure PaintSite(DC: HDC); virtual;

C++

virtual void __fastcall PaintSite(HDC DC);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TDockTree

Description

Paints the elements that surround all docked controls.

Windowed controls that use a docking manager call PaintSite when they need to paint their docked child controls.

DC is the handle to the device context to use when rendering those elements of the docking zones other than the docked controls themselves.

PaintSite iterates through the docked controls, and for each one, calls the PaintDockFrame method to perform the actual painting.

See Also