NativeMethods.PostMessage(IntPtr, Int32, IntPtr, IntPtr) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Post a 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
Parameters
- hWnd
- IntPtr
A handle to a window.
- msg
- Int32
The message.
- wParam
- IntPtr
Control identifier.
- lParam
- IntPtr
Handle to the control window.
Returns
The posted message.