Retrieves or sets a value that indicates the item's width while it contains an ActiveX
control.
Type | Description | |||
Item as HITEM | A long expression that indicates the item's handle. | |||
Long | A long expression that indicates the item's width, when the item contains an ActiveX control. |
By default, the ItemWidth property is -1. If the ItemWidth property is -1, the control resizes the ActiveX control to fit the control's client area. Use the ItemHeight property to specify the item's height. The property has effect only if the item contains an ActiveX control. Use the InsertControlItem property to insert ActiveX controls. Use the ItemObject property to retrieve the ActiveX object that's hosted by an item.