hImageList

This property returns a handle to an ImageList control.

Syntax

object.hImageList

Parameters

object
Object expression that evaluates to a CommandBar, TreeView, TabStrip, or ListView control.

Remarks

Windows CE identifies an ImageList control in an application by assigning it a handle, or hImageList. The hImageList property is used with the CommandBar, Tabstrip, Treeview, and Listview controls. Many ImageList functions require the hImageList of the active window as a parameter.

Because the value of this property can change while an application runs, never store the hImageList value in a variable.