title: Programmatically invoke Snap/Aero maximize
body: <p>Is there a way to programmatically invoke the Aera maximize effect using C or C++ for a specific window/window ID?</p>
  
  <p>For example:</p>
  
  <p><img src="https://i.stack.imgur.com/6ZUQN.jpg" alt="enter image description here"></p>
  
  <p>or</p>
  
  <p><a href="https://i.stack.imgur.com/2ZEeK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2ZEeK.png" alt="enter link description here"></a><br>
  <sub>(source: <a href="http://www.thebuzzmedia.com/wp-content/uploads/2009/05/windows-7-aero-snap-to-edge-effect.png" rel="nofollow noreferrer">thebuzzmedia.com</a>)</sub>  </p>
  
  <p>I am using a border-less Qt window and Qt has an API for getting the window ID. I want to programmatically trigger the windows effects without the known triggers.</p>