title: Prevent window movement
body: <p>I currently have a small game which runs in a win32 window. I just noticed that when I hold the top of the window (the bar which has the closing button) it freezes my application. I would like to disable this as it manages to completely destroy my application (timers continue to count).</p>
  
  <p>It seems that with even the most minimalistic settings for creation of the window it still has this feature. How can I disable this? I currently have:</p>
  
  <pre><code> HWND hWnd = CreateWindowW( L"Game",L"Game",
                            0x00000000L | 0x00080000L,
                            wr.left,
                            wr.top,
                            wr.right-wr.left,
                            wr.bottom-wr.top,
                            NULL,
                            NULL,
                            wc.hInstance,
                            NULL );
  </code></pre>
  
  <p>I read that my thread is ignored while dragging, if I am forced into using 2 threads could someone please provide a small example of usage?</p>
  
  <p>Or should I stop the timers? (what message should I catch, and would it even be catched?)</p>
  
  <p><strong>Update</strong></p>
  
  <p>I am using instances of my time class to handle timings which looks something like:</p>
  
  <pre><code>Timer::Timer() {
      __int64 frequency;
      QueryPerformanceFrequency( (LARGE_INTEGER*)&amp;frequency );
      invFreqMilli = 1.0f / (float)((double)frequency / 1000.0);
      StartWatch();
  }
  
  void Timer::StartWatch() {
      startCount = 0;
      currentCount = 0;
      watchStopped = false;
      QueryPerformanceCounter( (LARGE_INTEGER*)&amp;startCount );
  }
  </code></pre>
  
  <p>My Win32 message loop contains: mousemove, keyup and keydown.</p>