Aide:HWnd.txt
De Wiki AutoIt Français
Document original V3.3.6.1 :
###Function###
HWnd
###Description###
Converts an expression into an HWND handle.
###Syntax###
HWnd ( expression )
###Parameters###
@@ParamTable@@
expression
An expression to convert into an HWND handle.
@@End@@
###ReturnValue###
@@ReturnTable@@
Success: If the value can be converted to an HWND, the HWND representation will be returned.
Failure: If the HWND does not denote a valid window, a 0 (NULL) HWND will be returned and @error set to 1.
@@End@@
###Remarks###
Double numbers can not be converted to an HWND.
No literal string should be converted to an HWND because there is no guarantee that a given window will have the same HWND ever again. This is not strictly forbidden, but it is a programming mistake and should be avoided.
###Related###
Int, String, Number, Ptr
###Example###
@@IncludeExample@@
Document traduit V3.3.6.1 :
###Function###
HWnd
###Description###
Converti une expression en un handle HWND.
###Syntax###
HWnd ( expression )
###Parameters###
@@ParamTable@@
expression
Une expression à convertir en un handle HWND.
@@End@@
###ReturnValue###
@@ReturnTable@@
Succès: Si la valeur peut être convertie en un HWND, la représentation HWND sera retournée.
Échec: Si le HWND n'indique pas une fenêtre valide, un HWND à 0 (NULL) sera retourné et @error sera mis à 1.
@@End@@
###Remarks###
Les nombres doubles ne peuvent être convertit en HWND.
Aucune chaîne littérale ne devrait être convertie en HWND parce qu'il n'y a aucune garantie qu'une fenêtre donnée aura le même HWND à chaque fois. Ceci n'est pas interdit, mais c'est une grossière erreur de programmation qui devrait être évitée.
###Related###
<a href="Int.htm">Int</a>, <a href="String.htm">String</a>, <a href="Number.htm">Number</a>, <a href="Ptr.htm">Ptr</a>
###Example###
@@IncludeExample@@
Traducteur : Tlem
Contributeurs (pour les modifications avant le Wiki) :