RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDockTree.PaintSite Method

Paints the elements that surround all docked controls.

Pascal
procedure PaintSite(DC: HDC); virtual;
C++
virtual __fastcall PaintSite(HDC DC);

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!