Vcl.Themes.TCustomStyleServices.DrawElement
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 Winapi::Windows::TRect &R, const Winapi::Windows::TRect &ClipRect, int DPI = 0x0)/* overload */;
bool __fastcall DrawElement(HDC DC, const TThemedElementDetails &Details, const Winapi::Windows::TRect &R, Winapi::Windows::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.