title: What is the correct way to suppress WM_ERASEBKGND?
body: <p>If I need to use double buffering, I need to suppress <code>WM_ERASEBKGND</code> message.</p>
  
  <p>I can handle <code>WM_ERASEBKGND</code> and return immediately. But can I set the <code>WNDCLASS</code>/<code>WNDCLASSEX</code>'s <code>hbrBackground</code> to <code>NULL</code> and not handle the <code>WM_ERASEBKGND</code> message? Is this a correct way?</p>