RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TThemeServices.DrawElement Method (HDC, TThemedElementDetails, TRect)

Draws a themed user interface element.

Pascal
procedure DrawElement(DC: HDC; Details: TThemedElementDetails; const R: TRect); overload;
procedure DrawElement(DC: HDC; Details: TThemedElementDetails; const R: TRect; ClipRect: TRect); overload;
procedure DrawElement(DC: HDC; Details: TThemedElementDetails; const R: TRect; ClipRect: PRect); overload;
C++
__fastcall DrawElement(HDC DC, TThemedElementDetails Details, const TRect R);
__fastcall DrawElement(HDC DC, TThemedElementDetails Details, const TRect R, TRect ClipRect);
__fastcall DrawElement(HDC DC, TThemedElementDetails Details, const TRect R, PRect ClipRect);

Call DrawElement to draw a themed user interface element given by the Details parameter on a device context. The element 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!