GadgetItemID()

Syntax

Result = GadgetItemID(#Gadget, Item)
Description
Returns the OS handle for the given item in a gadget. This is especially useful for use with the OS API.

Parameters

#Gadget The gadget to use.
Item The item of which the handle should be returned. The first item in the gadget has index 0.

Return value

Returns the OS handle for the item or zero on failure.

Remarks

This function is currently only supported by TreeGadget() on Windows. It returns zero in other cases.

See Also

TreeGadget()

Supported OS

Windows

<- GadgetID() - Gadget Index - GadgetToolTip() ->