title: Resize a Window (On Windows OS) while Rendering
body: <p>All I want is to make a simple application that you can resize while rendering.
  (IE resize while never once seeing the buffer out the edge of the screen)</p>
  
  <p>Most commercial, professional, and major open source programs seem to be capable of this, while most all personal or hobbyist programs never seem to be capable of this. (I have no idea why)</p>
  
  <p>I want to make a professional looking program like that.</p>
  
  <hr>
  
  <p>A few examples of what I'm talking about:</p>
  
  <ul>
  <li><a href="https://gamedev.stackexchange.com/questions/127691/how-to-stop-sdl-from-freezing-the-rendering-while-resizing-the-window">https://gamedev.stackexchange.com/questions/127691/how-to-stop-sdl-from-freezing-the-rendering-while-resizing-the-window</a></li>
  <li><a href="https://www.gamedev.net/forums/topic/488074-win32-message-pump-and-opengl---rendering-pauses-while-draggingresizing/" rel="nofollow noreferrer">https://www.gamedev.net/forums/topic/488074-win32-message-pump-and-opengl---rendering-pauses-while-draggingresizing/</a></li>
  <li><a href="https://en.sfml-dev.org/forums/index.php?topic=19388.5" rel="nofollow noreferrer">https://en.sfml-dev.org/forums/index.php?topic=19388.5</a></li>
  </ul>
  
  <hr>
  
  <p>What I have used in the past for windowing are:</p>
  
  <ul>
  <li>SDL (Currently)</li>
  <li>SFML</li>
  <li>GLFW +OpenGL</li>
  </ul>
  
  <p>And this problem applies to all 3 from what I can recall.</p>
  
  <hr>
  
  <p>I would like to know the following:</p>
  
  <ol>
  <li><p>If this is a problem that is solvable, please tell me why or why not
  I've never once looked that low-level (OS APIs nor Graphics back-ends) so I just want to know why.</p></li>
  <li><p>What's the way to solve this? Is it within my means?</p></li>
  <li><p>Is the solution -really- a perfect solution? I've seen many people suggest solutions that have various problems
  (IE minimizing the buffer but not getting rid of it entirely OR you got rid of it but there's a ton of flickering (I forgot why but it doesn't matter))</p></li>
  </ol>
  
  <p>My current understanding is that this a Win32 API/Windows API related bug related to blocking.
  I don't have any deeper understanding or knowledge on how to create my own solution easily, but if I must learn then I will.</p>