title: C# auto click and send key to another application window 10
body: <p>I need to write an auto click C# application for Bluestack in background.
  I tried using Autoit api and I can click or sendkey, but it does not support drag &amp; drop.
  I found a solution using "user32.dll" PostMessage on C#, but it doesn't seem to work in window 10 anymore.</p>
  
  <p>Anyone have other solutions. Please help. Thanks a lot!</p>
  
  <pre><code>[DllImport("user32.dll", SetLastError = true)]
  static extern bool PostMessage(IntPtr hWnd, uint Msg, int wParam, int lParam);
  
  PostMessage(handle, (uint)WMessages.WM_LBUTTONDOWN, 0, MAKELPARAM(400, 400));
  </code></pre>