Vcl.Themes.TCustomStyleServices.DrawParentBackground
Delphi
function DrawParentBackground(Window: HWND; Target: HDC; Details: PThemedElementDetails;
OnlyIfTransparent: Boolean; const Bounds: TRect): Boolean; overload; inline;
function DrawParentBackground(Window: HWND; Target: HDC; const Details: TThemedElementDetails;
OnlyIfTransparent: Boolean; Bounds: PRect = nil): Boolean; overload; inline;
function DrawParentBackground(Window: HWND; Target: HDC; Details: PThemedElementDetails;
OnlyIfTransparent: Boolean; Bounds: PRect = nil): Boolean; overload;
C++
bool __fastcall DrawParentBackground(HWND Window, HDC Target, PThemedElementDetails Details, bool OnlyIfTransparent, const System::Types::TRect &Bounds)/* overload */;
bool __fastcall DrawParentBackground(HWND Window, HDC Target, const TThemedElementDetails &Details, bool OnlyIfTransparent, System::Types::PRect Bounds = (System::Types::PRect)(0x0))/* overload */;
bool __fastcall DrawParentBackground(HWND Window, HDC Target, PThemedElementDetails Details, bool OnlyIfTransparent, System::Types::PRect Bounds = (System::Types::PRect)(0x0))/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.Themes.pas Vcl.Themes.hpp |
Vcl.Themes | TCustomStyleServices |
Description
Draws the background of the given user interface element's parent.
Call DrawParentBackground to draw the background of a user interface element's parent, using the current style.
If OnlyIfTransparent
is True, the drawing is performed only if the element is transparent in the current style. Bounds
represents the area to be drawn.