###User Defined Function###
_GUICtrlEdit_SetLimitText

###Description###
Sets the text limit

###Syntax###
#include <GuiEdit.au3>
_GUICtrlEdit_SetLimitText ( $hWnd, $iLimit )


###Parameters###
@@ParamTable@@
$hWnd
	Control ID/Handle to the control
$iLimit
	The maximum number of TCHARs the user can enter
@@End@@

###ReturnValue###
None.


###Remarks###
The <a href="_GUICtrlEdit_SetLimitText.htm">_GUICtrlEdit_SetLimitText()</a> function limits only the text the user can enter.
It does not affect any text already in the edit control when the message is sent, nor does it affect the length of the text copied to the edit control by the <a href="_GUICtrlEdit_SetText.htm">_GUICtrlEdit_SetText()</a> function.
If an application uses the <a href="_GUICtrlEdit_SetText.htm">_GUICtrlEdit_SetText()</a> function to place more text into an edit control than is specified in the <a href="_GUICtrlEdit_SetLimitText.htm">_GUICtrlEdit_SetLimitText()</a> function, the user can edit the entire contents of the edit control.


###Related###
_GUICtrlEdit_GetLimitText


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