title: Raw input and window interaction issues when RIDEV_NOLEGACY flag is provided
body: <p>I'm have a few issues related to usage of raw input devices registered with the RIDEV_NOLEGACY flag.</p>
  
  <ul>
  <li>when a window is inactivated and I set focus via mouse click to window, focus is obtained but the window z-order remains the same. (This doesn't happen while alt-tabbing)</li>
  <li>unable to interact with the window chrome(resizing, title bar buttons)</li>
  </ul>
  
  <p>In my input class I create a thread which creates a message only window and registers raw input devices. In another thread I create a window which is used for OpenGL rendering. </p>
  
  <p>Everything works fine until the no legacy flag is specified. Perhaps this is just my ignorance of the Windows API. I've tried working around the first issue by way of ::Set[Active,Foreground]Window hacks to no effect. Is there a proper way handle these issues or should I just avoid disabling legacy keyboard and mouse messages?</p>