property Items.LockedItem (Alignment as VAlignmentEnum, Index as Long) as HITEM
Retrieves the handle of the locked/fixed item.

TypeDescription
Alignment as VAlignmentEnum A VAlignmentEnum expression that indicates whether the locked item requested is on the top or bottom side of the control.
Index as Long A long expression that indicates the position of item being requested.
HITEM A long expression that indicates the handle of the locked item
A locked or fixed item is always displayed on the top or bottom side of the control no matter if the control's list is scrolled up or down. Use the LockedItem property to access a locked item by its position. Use the LockedItemCount property to add or remove items fixed/locked to the top or bottom side of the control. Use the ShowLockedItems property to show or hide the locked items. Use the IsItemLocked property to check whether an item is locked or unlocked. Use the CellCaption property to specify the caption for a cell. Use the InsertControlItem property to assign an ActiveX control to a locked item only.

The following sample adds a divider item that's locked to the top side of the first group in the control: ( Before running this sample please make sure that your control contains groups objects ):

With ExplorerTree1.Groups(0)
    .BeginUpdate
    .DrawGridLines = exNoLines
    With .Items
        .LockedItemCount(TopAlignment) = 1
        Dim h As HITEM
        h = .LockedItem(TopAlignment, 0)
        .ItemDivider(h) = 0
        .ItemHeight(h) = 24
        .CellCaption(h, 0) = "<b>Total</b>: $12.344.233"
        .CellCaptionFormat(h, 0) = exHTML
        .CellHAlignment(h, 0) = RightAlignment
    End With
    .EndUpdate
End With