Vcl.Themes.TCustomStyleServices.DrawIcon
Delphi
function DrawIcon(DC: HDC; Details: TThemedElementDetails; const R: TRect; Images: HIMAGELIST; Index: Integer): Boolean; overload;
C++
bool __fastcall DrawIcon(HDC DC, const TThemedElementDetails &Details, const System::Types::TRect &R, NativeUInt Images, int Index)/* overload */;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | Vcl.Themes.pas Vcl.Themes.hpp |
Vcl.Themes | TCustomStyleServices |
Description
Draws an icon over the given element.
Call DrawIcon to draw the image that resides at the Index index in the image list specified by Images. The icon is drawn in the rectangle specified by R, over the element indicated by Details.