Description: | Inserts a ListItem object at the specified index position. |
Used in controls: | ListView |
Used in objects: | None. |
Parameters: | 1. VT_BSTR - TextStringX(8192) |
Description of Parameters: | TextString: The character string to be displayed in the ListItem object. IconIndex: The index of the large icon for the ListItem object. SmallIconIndex: The index of the small icon for the ListItem object. InsertIndex: The index position at which the ListItem object is inserted. |
Return value: | VT_I4 - ReturnValueS9(9) COMP-5 If positive, this is the index of the inserted item. |
Example: | INVOKE CmCombo1 "InsertString" USING TextString IconIndex SmallIconIndex InsertIndex RETURNING ReturnValue |
Backward compatibility | None. |