Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

Name Type Description
AInstance THandle

A handle to the resource module.

AResourceName string

A resource name.

AResType PChar

The resource type.

#Returns

Type Description
Integer

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

See Also