title: SetWindowPos() owner z-order
body: <p>I'm trying to understand the purpose of the <code>SWP_NOOWNERZORDER</code> flag when calling the <a href="https://msdn.microsoft.com/en-us/library/windows/desktop/ms633545(v=vs.85).aspx" rel="nofollow"><code>SetWindowPos</code></a> function.</p>
  
  <p>The documentation seems to only mention the change of the owner's z-order in one place: </p>
  
  <blockquote>
    <p>If a topmost window is repositioned to the bottom (<strong>HWND_BOTTOM</strong>) of the Z order or after any non-topmost window, it is no longer topmost. When a topmost window is made non-topmost, its owners and its owned windows are also made non-topmost windows.</p>
  </blockquote>
  
  <p>Does this mean that in all other cases the z-order of the owner window is unchanged? </p>
  
  <p>For example, if I specify <code>NO_ZORDER</code> does it automatically mean that the owner's z-order will not change? </p>
  
  <p>What is the purpose of this flag? Only to prevent pushing the owner window towards the bottom through <code>SetWindowPos(ownedWindow, ...)</code>? </p>