###User Defined Function###
_GUICtrlComboBox_InsertString

###Description###
Insert a string

###Syntax###
#include <GuiComboBox.au3>
_GUICtrlComboBox_InsertString ( $hWnd, $sText [, $iIndex = -1] )


###Parameters###
@@ParamTable@@
$hWnd
	Control ID/Handle to the control
$sText
	Text string to be inserted
$iIndex
	[optional] Specifies the 0-based index of the position at which to insert the string.
@@End@@

###ReturnValue###
@@ReturnTable@@
Success:	a 0-based index of the position at which the string was inserted.
Failure:	-1.
@@End@@


###Remarks###
If the $iIndex parameter is 1, the string is added to the end of the list.

If the ComboBox has $WS_HSCROLL style and you insert a string wider than the ComboBox, you should use the <a href="_GUICtrlComboBox_SetHorizontalExtent.htm">_GUICtrlComboBox_SetHorizontalExtent()</a> function to ensure the horizontal scrollbar appears.


###Related###
_GUICtrlComboBox_AddString, _GUICtrlComboBox_InitStorage, _GUICtrlComboBox_SetHorizontalExtent


###Example###
@@IncludeExample@@
