property Items.ItemControlID (Item as HITEM) as String

Retrieves the item's control identifier that was used by InsertControlItem property.

   Item as HITEM A long expression that indicates the item's handle that was previously created by the InsertControlItem property.  
   String A string expression that indicates the control identifier used by InsertControlItem method to create an item that hosts an ActiveX control.  

The ItemControlID property retrieves the control identifier used by the InsertControlItem property. If the item was created using AddItem or InsertItem properties the ItemControlID property retrieves an empty string. For instance, the ItemControlID property can be used to check if an item contains an ActiveX control or not.

Send comments on this topic.
1999-2018 Exontrol.COM, Software. All rights reserved.