Back to Devexpress

TcxCustomImageList.AddImageFromResource(THandle,string,PChar) Method

vcl-cximagelist-dot-tcxcustomimagelist-dot-addimagefromresource-x28-system-dot-thandle-system-dot-string-system-dot-pchar-x29.md

latest1.1 KB
Original Source

TcxCustomImageList.AddImageFromResource(THandle,string,PChar) Method

Appends a specific image from the specified resource module.

Declaration

delphi
function AddImageFromResource(AInstance: THandle; const AResourceName: string; AResType: PChar): Integer;

Parameters

NameTypeDescription
AInstanceTHandle

A handle to the resource module.

| | AResourceName | string |

A resource name.

| | AResType | PChar |

The resource type.

|

Returns

TypeDescription
Integer

The index of the added image if the add operation is successful; otherwise, -1.

|

See Also

TcxCustomImageList Class

TcxCustomImageList Members

cxImageList Unit