Type | Description | |||
ItemA as HITEM | A Long expression that indicates the handle that hosts the bar A. | |||
KeyA as Variant | A Variant expression that indicates the key of the bar A. | |||
ItemB as HITEM | A Long expression that indicates the handle that hosts the bar B. | |||
KeyB as Variant | A Variant expression that indicates the key of the bar B. | |||
Long | A long expression that specifies whether the bar A intersects bar B, if 0, -1 if the bar A is before bar B, and 1 if the bar A is after bar B. Any other value being returned indicates that the ItemA, KeyA, ItemB or KeyB are not indicating a valid bar. For instance, if 2, the bar B does not exists so even the ItemB is not valid, or the item does not contain any bar with the key B |
The ItemBar(exBarStart) and ItemBar(exBarEnd) properties indicates the starting and ending point of the bar. The OverlaidType property indicates the way two bars get shown when they cover each other, or get intersected. For instance, you can get the bars in the item being stacked once they intersect, so the height of the item is automatically adjusted to fit the stack, if the OverlaidType property is exOverlaidBarsOffset + exOverlaidBarsStackAutoArrange. You can use the ItemBar(exBarIntersectWith), ItemBar(exBarIntersectWithAsString) or ItemBar(exBarIntersectWithCount) property to determine the bars that intersects with the current bar.