###User Defined Function###
_GUICtrlComboBox_SetCurSel

###Description###
Select a string in the list of a ComboBox

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


###Parameters###
@@ParamTable@@
$hWnd
	Control ID/Handle to the control
$iIndex
	[optional] Specifies the 0-based index of the string to select
@@End@@

###ReturnValue###
@@ReturnTable@@
Success:	the index of the item selected.
Failure:	-1.
@@End@@


###Remarks###
If $iIndex is 1, any current selection in the list is removed and the edit control is cleared.

If $iIndex is greater than the number of items in the list or if $iIndex is 1, the return value is -1 and the selection is cleared.


###Related###
_GUICtrlComboBox_GetCurSel


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