Click or drag to resize

WindowsUtilitiesPostMessage Method

Places (posts) 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.

Namespace:  ShellBoost.Core.Utilities
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public static bool PostMessage(
	IntPtr handle,
	int msg,
	IntPtr wParam,
	IntPtr lParam
)

Parameters

handle
Type: SystemIntPtr
A handle to the window whose window procedure is to receive the message
msg
Type: SystemInt32
The message to be sent.
wParam
Type: SystemIntPtr
Additional message-specific information.
lParam
Type: SystemIntPtr
Additional message-specific information.

Return Value

Type: Boolean
true if the call succeeded, false otherwise.
See Also