hImageList Property (AImageList)

Returns a Windows handle to the object.

Syntax

[ hImageList = ] Object.hImageList

The hImageList property syntax has the following parts:

 

Name

Type

Description

Object

AImageList

AImageList control

hImageList

AHandle

A Windows handle to the object.

Comments

The Microsoft Windows operating environment identifies an ImageList control in an application by assigning it a handle, or hImageList. The hImageList property is used with Windows API calls. Many ImageList-related API functions require the hImageList of the active window as an argument.

Note: Because the value of this property can change while a program is running, never store the hImageList value in a variable.

Example

The following statement returns the handle of an ImageList control:

hImageList1=imgl1.hImageList

Applies to

AImageList

See Also

hWnd, Images