PostMessage() public static 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.
public static PostMessage ( IntPtr windowHandle, WindowsMessages message, UIntPtr wParam, UIntPtr lParam ) : void
windowHandle System.IntPtr A handle to the window whose window procedure is to receive the message. The following values have special meanings.
message WindowsMessages The message to be posted.
wParam System.UIntPtr Additional message-specific information.
lParam System.UIntPtr Additional message-specific information.
return void
Beispiel #1
0
 /// <summary>
 /// Places (posts) a message in the message queue associated with the thread that created the window and returns without waiting for the thread to process the message.
 /// </summary>
 /// <param name="message">The message to be posted.</param>
 /// <param name="wParam">Additional message-specific information.</param>
 /// <param name="lParam">Additional message-specific information.</param>
 public void PostMessage(uint message, UIntPtr wParam, UIntPtr lParam)
 {
     WindowCore.PostMessage(Handle, message, wParam, lParam);
 }