Aide:WinSetOnTop.txt

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

Document original V3.3.6.1 :

###Function###
WinSetOnTop

###Description###
Change a window's  "Always On Top" attribute.

###Syntax###
WinSetOnTop ( "title", "text", flag )


###Parameters###
@@ParamTable@@
title
	The title of the window to affect. See <a href="../intro/windowsadvanced.htm">Title special definition</a>.
text
	The text of the window to affect.
flag
	Determines whether the window should have the "TOPMOST" flag set.
	1=set on top flag, 0 = remove on top flag
@@End@@


###ReturnValue###
@@ReturnTable@@
Success:	Returns 1. 
Failure:	Returns 0 if window is not found. 
@@End@@


###Remarks###
Third-party programs which add an "Always On Top" context menu entry might not update their menu entry to reflect the AutoIt-induced change in TOPMOST status.


###Related###
WinSetState


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


Document traduit V3.3.6.1 :

###Function###
WinSetOnTop

###Description###
Change l'attribut "Avant plan" d'une fenêtre.


###Syntax###
WinSetOnTop ( "title", "text", flag )


###Parameters###
@@ParamTable@@
title
	Le titre de la fenêtre à contrôler  Voir <a href="../intro/windowsadvanced.htm">Définition spéciale de titre</a>.
text
	Le texte de la fenêtre à changer.
flag
	Détermine si la fenêtre doit avoir le paramètre "Mise en avant plan (TOPMOST)" attribué.
	1 = assigne en avant plan, 0 = Supprime l'avant plan
@@End@@


###ReturnValue###
@@ReturnTable@@
Succès: 	Retourne 1.
Échec:  	Retourne 0 si la fenêtre n'est pas trouvée.
@@End@@


###Remarks###
Les programmes tiers incluant un menu contextuel "Toujours à l'avant plan (Always on Top)" ne pourront être mis à jours.


###Related###
<a href="WinSetState.htm">WinSetState</a>


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


Traducteur : Jerome

Contributeurs (pour les modifications avant le Wiki) : Tlem