RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TThemeServices.DrawIcon Method

Draws an icon over a themed user interface element.

Pascal
procedure DrawIcon(DC: HDC; Details: TThemedElementDetails; const R: TRect; himl: HIMAGELIST; Index: Integer);
C++
__fastcall DrawIcon(HDC DC, TThemedElementDetails Details, const TRect R, HIMAGELIST himl, int Index);

Call DrawIcon to draw an icon over a themed user interface element. The icon is drawn using the current Operation System theme constraints. 

 

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