Aide:GUICtrlCreateMenuItem.txt
De Wiki AutoIt Français
Document original V3.3.6.1 :
###Function###
GUICtrlCreateMenuItem
###Description###
Creates a MenuItem control for the GUI.
###Syntax###
GUICtrlCreateMenuItem ( "text", menuID [, menuentry [, menuradioitem]] )
###Parameters###
@@ParamTable@@
text
The text of the control.
menuID
Allows you to create a submenu in the referenced menu. If equal -1 it refers to the first level menu.
menuentry
[optional] Allows you to define the entry number to be created. The entries are numbered starting at 0.
menuradioitem
[optional] 0 (default) = create a normal menuitem, 1 = create a menuradioitem
@@End@@
###ReturnValue###
@@ReturnTable@@
Success: Returns the identifier (controlID) of the new control.
Failure: Returns 0.
@@End@@
###Remarks###
To set or change information in the control see <a href="GUICtrlUpdate Management.htm">GUICtrlUpdate...</a>.
If the Text parameter is a "" then a separator line is created. GUICtrlSetState can be used as for other controls. See example.
###Related###
GUICtrlUpdate..., GUIGetMsg, GUICtrlCreateMenu, GUICtrlCreateContextMenu
###Example###
@@IncludeExample@@
Document traduit V3.3.6.1 :
Texte en Français
Traducteur :
Contributeurs (pour les modifications avant le Wiki) :