hImageList Property (ImageList Control)

           

Returns a handle to an ImageList control.

Syntax

object.hImageList

The object placeholder represents an object expression that evaluates to an ImageList control.

Remarks

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.