title: Send mouse events to inactive and hidden windows/WPF forms
body: <p>I'm developing an app that needs to generate mouse events on a window Win32/WPF which may be minimized or hidden from view on the desktop.</p>
  
  <p>I have tried the user32.dll APIs SendInput, SendMessage, PostMessage etc. These work only if the window is visible on the desktop. Would you know about any methods that work for hidden/inactive windows?</p>
  
  <p>I've also tried .NET's UI Automation library. In this case, a window is brought to the front or I'm not able to get a clickable point for the control.</p>
  
  <p>Any ideas how I can proceed? If I can proceed?</p>