Sign in Join
FPDoc Onlineexperiment

TThemeServices.DrawIcon procedure

Member of TThemeServicespublicIn unit Themes

Draws the icon for a theme element.

Declaration

pascal
procedure DrawIcon(DC: HDC; Details: TThemedElementDetails; 
 const R: TRect; himl: HIMAGELIST; Index: Integer)
 ; virtual; overload
procedure DrawIcon(ACanvas: TPersistent; 
 Details: TThemedElementDetails; const P: TPoint; 
 AImageList: TPersistent; Index: Integer; 
 AImageWidth: Integer=0; ARefControl: TPersistent=Nil)
 ; virtual; overload

Description

Overloaded to provide Windows and non-Windows variants. Overridden in the TWin32ThemeServices descendant for compatibility with Delphi.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.