I need to send a message containing text to another application.
I will not have that application's handle, so I have to use
I am familiar with SendMessage,
private static extern int SendMessage(IntPtr hWnd, int wMsg, int
wParam, [MarshalAs(UnmanagedType.LPStr)] string lParam);
private const int HWND_BROADCAST = 0xffff;
SendMessage(HWND_BROADCAST, ?, 0, "some text");
but I'm not sure which message to use.
Please help - an example of both send and receive will
greatly speed things up for me.