###Function###
ControlCommand
 
###Description###
Envoi une commande  un contrle.
 
 
###Syntax###
ControlCommand ( "title", "text", controlID, "command" [, "option"] )
 
 
###Parameters###
@@ParamTable@@
title
	Le titre de la fentre  atteindre.
text
	Le texte de la fentre  atteindre.
controlID
	Le contrle avec lequel interagir. Voir <a href="../intro/controls.htm">Controls</a>.
command
	La commande  envoyer au contrle.
option
	[optionnel] Paramtres additionnels pouvant tre requis par certaines commandes.
@@End@@
 
 
###ReturnValue###
Dpend de la commande tel que montr dans le tableau ci-dessous. En cas d'erreur (telle qu'une commande ou fentre/contrle invalide) @error est mis  1.
 
@@ControlCommandTable@@
<b>Commande, Option</b>
	<b>Valeur de retour</b>
"IsVisible", ""
	Retourne 1 si le contrle est visible, sinon 0
"IsEnabled", ""
	Retourne 1 si le contrle est actif, sinon 0
"ShowDropDown", ""
	Dplie un contrle type ComboBox
"HideDropDown", ""
	Replie un contrle type ComboBox
"AddString", 'string'
	Ajoute la chane 'string'  la fin d'un contrle type ListBox ou ComboBox
"DelString", occurrence
	Efface une chane en fonction de sont occurrence dans un contrle type ListBox ou ComboBox
"FindString", 'string'
	Retourne la position de la chaine 'string' d'un contrle type ListBox ou ComboBox
"SetCurrentSelection", <i>occurrence</i>
	Slectionne une chaine en fonction de sont occurrence dans un contrle type ListBox ou ComboBox
"SelectString", 'string'
	Slectionne la chaine 'string' dans un contrle type ListBox ou ComboBox
"IsChecked", ""
	Retourne 1 si le contrle est coch, sinon 0
"Check", ""
	Coche le contrle type CheckBox ou RadioBox
"UnCheck", ""
	Dcoche le contrle type CheckBox ou RadioBox
"GetCurrentLine", ""
	Retourne le numro de la ligne positionne sous le curseur, dans un contrle type Edit
"GetCurrentCol", ""
	Retourne le numro de la colonne positionne sous le curseur, dans un contrle type Edit
"GetCurrentSelection", ""
	Retourne le nom de l'lment slectionn dans un contrle type ListBox ou ComboBox
"GetLineCount", ""
	Retourne le nombre de lignes dans un contrle type Edit
"GetLine", <i>line</i>#
	Retourne le texte d'une ligne d'un contrle de type Edit
"GetSelected", ""
	Retourne le texte slectionn d'un contrle de type Edit
"EditPaste", 'string'
	Ajoute la chaine 'string'  la position du curseur dans un contrle de type Edit
"CurrentTab", ""
	Retourne l'onglet slectionn dans un contrle type SysTabControl32
"TabRight", ""
	Passe  l'onglet suivant vers la droite dans un contrle type SysTabControl32
"TabLeft", ""
	Passe  l'onglet suivant vers la gauche dans un contrle type SysTabControl32
"SendCommandID", <i>Command ID</i>
	Simule l'envoi du message WM_COMMAND. Habituellement utilis pour les contrles type ToolbarWindow32 - Utilisez l'onglet 'ToolBar' de Au3Info pour avoir l'ID d'une commande.
@@End@@
 
 
###Remarks###
Certains contrles peuvent rsister  l'automation tant qu'ils ne sont pas dans la fentre active. Utilisez la fonction WinActivate() pour mettre la fentre des contrles au premier plan avant d'utiliser ControlCommand().
 
Certaines commandes fonctionnant pour un contrle type ComboBox ou ListBox, peuvent ne pas fonctionner pour des contrles type "ComboLBox".
 
###Related###
<a href="ControlClick.htm">ControlClick</a>, <a href="ControlDisable.htm">ControlDisable</a>, <a href="ControlEnable.htm">ControlEnable</a>, <a href="ControlFocus.htm">ControlFocus</a>, <a href="ControlGetPos.htm">ControlGetPos</a>, <a href="ControlGetText.htm">ControlGetText</a>, <a href="ControlHide.htm">ControlHide</a>, <a href="ControlMove.htm">ControlMove</a>, <a href="ControlSetText.htm">ControlSetText</a>, <a href="ControlShow.htm">ControlShow</a>, <a href="StatusbarGetText.htm">StatusbarGetText</a>, <a href="WinActivate.htm">WinActivate</a>, <a href="WinMenuSelectItem.htm">WinMenuSelectItem</a>, <a href="WinGetClassList.htm">WinGetClassList</a>, <a href="ControlGetFocus.htm">ControlGetFocus</a>, <a href="ControlListView.htm">ControlListView</a>, <a href="ControlSe.htm">ControlSe</a>
 
 
###Example###
@@IncludeExample@@