NativeMethods.PostMessage(IntPtr, Int32, IntPtr, IntPtr) Méthode

Définition

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é.

S’applique à