title: How to restore a minimized window using AppActivate(ProcessID)
body: <p>The documentation for AppActivate(ProcessID) states...</p>
  
  <blockquote>
    <p>The AppActivate function changes the
    focus to the named application or
    window but does not affect whether it
    is maximized or minimized.</p>
  </blockquote>
  
  <p>Unfortunately, it doesn't then advise how you CAN un-Minimize an application from the task bar when you want it activated. </p>
  
  <p>I can't find something like a SetWindowState on the Process object, so given I have a ProcessID and/or a Process object, what can be done to bring the window into a Normal or Maximized state?</p>