Message.Create(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.
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
Parameters
- 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.
Returns
A Message that represents the message that was created.
Remarks
Use the Create method to create a Message to wrap a message sent by Windows.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET