private const int RF_TESTMESSAGE = 0xA123;
[DllImport("user 32.dll", CharSet=CharSet .Auto, SetLastError=tr ue)]
public static extern int SendMessage(Int Ptr hwnd,
[MarshalAs(Unman agedType.U4)] int Msg, uint wParam, ulong lParam);
I'm trying to send a Windows message from a VB.NET 2005 app. I found
this example in C# that works fine, but I cannot figure out the VB
sysntax.
Thanks,
John
[DllImport("user 32.dll", CharSet=CharSet .Auto, SetLastError=tr ue)]
public static extern int SendMessage(Int Ptr hwnd,
[MarshalAs(Unman agedType.U4)] int Msg, uint wParam, ulong lParam);
I'm trying to send a Windows message from a VB.NET 2005 app. I found
this example in C# that works fine, but I cannot figure out the VB
sysntax.
Thanks,
John
Comment