Table of Contents

Method PostMessage

Namespace
Alternet.Common
Assembly
Alternet.Common.v9.dll

PostMessage(IntPtr, int, IntPtr, IntPtr)

Places a message in the message queue associated with the thread that created the specified window and returns without waiting for the thread to process the message.

public static bool PostMessage(IntPtr hwnd, int msg, IntPtr wparam, IntPtr lparam)

Parameters

hwnd IntPtr

Handle to the window whose window procedure is to receive the message.

msg int

Specifies the message to be posted.

wparam IntPtr

Specifies additional message-specific information.

lparam IntPtr

Specifies additional message-specific information.

Returns

bool

True if succeed; otherwise false.