Vcl.Themes.TCustomStyleServices.DrawElement

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

function DrawElement(DC: HDC; Details: TThemedElementDetails;
const R, ClipRect: TRect; DPI: Integer = 0): Boolean; overload; inline;
function DrawElement(DC: HDC; Details: TThemedElementDetails;
const R: TRect; ClipRect: PRect = nil; DPI: Integer = 0): Boolean; overload;

C++

bool __fastcall DrawElement(HDC DC, const TThemedElementDetails &Details, const System::Types::TRect &R, const System::Types::TRect &ClipRect, int DPI = 0x0)/* overload */;
bool __fastcall DrawElement(HDC DC, const TThemedElementDetails &Details, const System::Types::TRect &R, System::Types::PRect ClipRect = (System::Types::PRect)(0x0), int DPI = 0x0)/* overload */;

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
function public
Vcl.Themes.pas
Vcl.Themes.hpp
Vcl.Themes TCustomStyleServices


Beschreibung

Zeichnet das angegebene Element.

Rufen Sie DrawElement auf, um das in Details angegebene Element mit dem aktuellen Stil zu zeichnen.

R ist das Rechteck in dem das Element gezeichnet wird und ClipRect ist ein Clipping-Rechteck.

Siehe auch