RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TThemeServices.DrawParentBackground Method (HWND, HDC, PThemedElementDetails, Boolean, PRect)

Draws the parent background of the themed user interface element.

Pascal
procedure DrawParentBackground(Window: HWND; Target: HDC; Details: PThemedElementDetails; OnlyIfTransparent: Boolean; Bounds: PRect = nil); overload;
procedure DrawParentBackground(Window: HWND; Target: HDC; Details: PThemedElementDetails; OnlyIfTransparent: Boolean; const Bounds: TRect); overload;
procedure DrawParentBackground(Window: HWND; Target: HDC; const Details: TThemedElementDetails; OnlyIfTransparent: Boolean; Bounds: PRect = nil); overload;
C++
__fastcall DrawParentBackground(HWND Window, HDC Target, PThemedElementDetails Details, Boolean OnlyIfTransparent, PRect Bounds = nil);
__fastcall DrawParentBackground(HWND Window, HDC Target, PThemedElementDetails Details, Boolean OnlyIfTransparent, const TRect Bounds);
__fastcall DrawParentBackground(HWND Window, HDC Target, const TThemedElementDetails Details, Boolean OnlyIfTransparent, PRect Bounds = nil);

Call DrawParentBackground to draw the background of a themed user interface element's parent. The area is drawn using the current Operation System theme. 

 

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