Aide:TrayCreateMenu.txt

De Wiki AutoIt Français
Aller à : navigation, rechercher

Document original V3.3.6.1 :

###Function###
TrayCreateMenu

###Description###
Creates a menu control for the tray menu.

###Syntax###
TrayCreateMenu ( "sub/menutext" [, menuID [, menuentry]] )


###Parameters###
@@ParamTable@@
sub/menutext
	The sub/menu text.
menuID
	[optional] If defined, allows you to create a submenu in the referenced menu. If equal -1 it refers to first level menu.
menuentry
	[optional] Allows you to define the entry number to be created. The entries are numbered starting at 0.
@@End@@

###ReturnValue###
@@ReturnTable@@
Success:	Returns the identifier (controlID) of the new tray menu.
Failure:	Returns 0.
@@End@@


###Remarks###
None.

###Related###
TrayItemSetState, TrayItemSetText, TrayGetMsg, TrayItemDelete


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


Document traduit V3.3.6.1 :

Texte en Français


Traducteur :

Contributeurs (pour les modifications avant le Wiki) :