Message.Create(IntPtr, Int32, IntPtr, IntPtr) Metoda

Definicja

Tworzy nowy adres 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

Parametry

hWnd
IntPtr

nativeint

Dojście do okna, dla którego znajduje się komunikat.

msg
Int32

Identyfikator komunikatu.

wparam
IntPtr

nativeint

Pole komunikatu wparam .

lparam
IntPtr

nativeint

Pole komunikatu lparam .

Zwraca

Message

Element Message reprezentujący utworzony komunikat.

Uwagi

Create Użyj metody , aby utworzyć Message obiekt w celu opakowania komunikatu wysłanego przez system Windows.

Dotyczy