NativeMethods.PostMessage(IntPtr, Int32, IntPtr, IntPtr) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Envoyer un message.
public:
static int PostMessage(IntPtr hWnd, int msg, IntPtr wParam, IntPtr lParam);
public static int PostMessage (IntPtr hWnd, int msg, IntPtr wParam, IntPtr lParam);
static member PostMessage : nativeint * int * nativeint * nativeint -> int
Public Shared Function PostMessage (hWnd As IntPtr, msg As Integer, wParam As IntPtr, lParam As IntPtr) As Integer
Paramètres
- hWnd
-
IntPtr
nativeint
Handle d'une fenêtre.
- msg
- Int32
Message.
- wParam
-
IntPtr
nativeint
Identificateur de contrôle.
- lParam
-
IntPtr
nativeint
Descripteur de la fenêtre de contrôle.
Retours
Message publié.