Vcl.Themes.TCustomStyleServices.DrawIcon

提供: RAD Studio API Documentation
移動先: 案内検索

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 */;

プロパティ

種類 可視性 ソース ユニット
function public
Vcl.Themes.pas
Vcl.Themes.hpp
Vcl.Themes TCustomStyleServices


説明

指定された要素上にアイコンを描画します。

DrawIcon を呼び出すと、Images で指定されたイメージ リストのインデックス Index の位置にある、イメージをを描画することができます。このアイコンは、R で指定された四角形の中の、Details で指定された要素上に描画されます。

関連項目