[DllImport("Coredll.dll", EntryPoint="SendMessageW")]
static extern int SendMessageString(int hwnd, int wMsg, int wparam, string lparam);
Declare Function SendMessage Lib "Coredll.dll" (ByVal hWnd As IntPtr, ByVal Msg As Integer, ByVal wParam As Integer, ByVal lParam As String) As IntPtr
If you are searching for a way to send keys to an application, you can use System.Windows.Forms.SendKeys.Send(keys) after bringing the window to the top via the SetForegroundWindow API.
Please add some!
Some code...
Do you know one? Please contribute it!