Vcl.Graphics.TIcon.ReleaseHandle
Delphi
function ReleaseHandle: HICON;
C++
HICON __fastcall ReleaseHandle();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.Graphics.pas Vcl.Graphics.hpp |
Vcl.Graphics | TIcon |
Description
Releases the Windows GDI object represented by the icon.
Call ReleaseHandle to release the resources used to represent the icon. ReleaseHandle sets the Handle property to nil (Delphi) or NULL (C++).
ReleaseHandle informs the TIcon instance that it is no longer responsible for destroying the icon handle.