###User Defined Function###
_GUICtrlEdit_SetSel

###Description###
Selects a range of characters

###Syntax###
#include <GuiEdit.au3>
_GUICtrlEdit_SetSel ( $hWnd, $iStart, $iEnd )


###Parameters###
@@ParamTable@@
$hWnd
	Control ID/Handle to the control
$iStart
	Specifies the starting character position of the selection.
$iEnd
	Specifies the ending character position of the selection.
@@End@@

###ReturnValue###
None.


###Remarks###
The start value can be greater than the end value.
The lower of the two values specifies the character position of the first character in the selection.
The higher value specifies the position of the first character beyond the selection.

The start value is the anchor point of the selection, and the end value is the active end.
If the user uses the SHIFT key to adjust the size of the selection, the active end can move but the anchor point remains the same.

If the $iStart is 0 and the $iEnd is 1, all the text in the edit control is selected.
If the $iStart is 1, any current selection is deselected.

The control displays a flashing caret at the $iEnd position regardless of the relative values of $iStart and $iEnd.


###Related###
_GUICtrlEdit_GetSel, _GUICtrlEdit_ReplaceSel


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