sItemIndex (SHORT)

      Item index.

      LIT_END

        Add the item to the end of the list.
      LIT_SORTASCENDING
        Insert the item into the list sorted in ascending order.
      LIT_SORTDESCENDING
        Insert the item into the list sorted in descending order.
      Other
        Insert the item into the list at the offset specified by this zero-based index.

      pszItemText (PSZ)

        Item text.

        This points to a string containing the item text.

      sIndexInserted (SHORT)

        Index of inserted item.

        LIT_MEMERROR

          The list box control cannot allocate space to insert the list item in the list.
        LIT_ERROR
          An error, other than LIT_MEMERROR, occurred.
        Other
          The zero-based index of the offset of the item within the list.


        [Back] [Next]