title: MFC C++ put a 1000 MS sleep on main thread?
body: <p>Simple enough question I am sure.</p>
  
  <p>Using MFC C++, what header do I need to include and what functions do I need to call to place a 1000 ms sleep on the main thread.</p>
  
  <p>In C# it is easy as Thread.Sleep(1000); so is there something as simple as that in C++?</p>
  
  <p>I am playing a sound and it quits after playing sound. The sound does not get a chance to play for a quits to fast.</p>