[Overview][Types][Classes][Procedures and functions][Index] | Reference for unit 'ImgList' (#lcl)

# TCustomImageListResolution.GetReferenceHandle

Gets the handle from the widgetset Reference for the image list.

## Declaration

Source position: imglist.pp line 145

`protected function TCustomImageListResolution.GetReferenceHandle: TLCLHandle; override;`

## Function result

Handle for the widgetset Reference class used for the image list.

## Description

GetReferenceHandle is an overridden method used to get the handle for the TWSCustomImageListReference class for the widgetset. Some platforms / widgetsets require a handle when manipulating an image list. GetReferenceHandle uses the Handle property from the widgetset reference as the return value.

## Version info

Modified in LCL version 4.0 to use the TLCLHandle type instead of the deprecated THandle type in the return value for the method.

## See also

TCustomImageListResolution.Reference |  | Reference to the widgetset image list using this resolution.
TLCLHandle |  | The type used for handles in LCL applications, components, controls, and widget set classes.
TWSCustomImageListReference |  |