Vcl.Themes.TCustomStyleServices.DrawParentBackground

提供: RAD Studio API Documentation
移動先: 案内検索

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 */;

プロパティ

種類 可視性 ソース ユニット
function public
Vcl.Themes.pas
Vcl.Themes.hpp
Vcl.Themes TCustomStyleServices


説明

指定されたユーザー インターフェイス要素の親の背景を描画します。

DrawParentBackground を呼び出すと、ユーザー インターフェイス要素の親の背景を、現在のスタイルを使用して描画することができます。OnlyIfTransparentTrue の場合、要素が現在のスタイルにおいて透過の場合にのみ、描画が行われます。Bounds は、描画がされる領域を表します。

関連項目