Message.Create(IntPtr, Int32, IntPtr, IntPtr) Method
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.
Creates a new Message.
public:
static System::Windows::Forms::Message Create(IntPtr hWnd, int msg, IntPtr wparam, IntPtr lparam);
public static System.Windows.Forms.Message Create(IntPtr hWnd, int msg, IntPtr wparam, IntPtr lparam);
static member Create : nativeint * int * nativeint * nativeint -> System.Windows.Forms.Message
Public Shared Function Create (hWnd As IntPtr, msg As Integer, wparam As IntPtr, lparam As IntPtr) As Message
- hWnd
-
IntPtr
nativeint
The window handle that the message is for.
- msg
- Int32
The message ID.
- wparam
-
IntPtr
nativeint
The message wparam
field.
- lparam
-
IntPtr
nativeint
The message lparam
field.
A Message that represents the message that was created.
Use the Create method to create a Message to wrap a message sent by Windows.
Prodotto | Versioni |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9, 10 |
Feedback su .NET
.NET è un progetto di open source. Selezionare un collegamento per fornire feedback: