###User Defined Function###
_GUICtrlComboBoxEx_SetCurSel

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

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


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

###ReturnValue###
@@ReturnTable@@
Success:	True.
Failure:	False.
@@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###
_GUICtrlComboBoxEx_GetCurSel


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