title: MFC - How to post a message to all views that were derived from CView class?
body: <p>I want to post a message to all views. 
  I'm considering get a Document global reference and then implement a method like below</p>
  
  <pre><code>void SomeAppDoc::DispatchToAll( UINT msg, WPARAM wP, LPARAM lP )
  {
    //some how get all view's reference
    //iterate and update each views 
  }
  </code></pre>
  
  <p>What is the effective way?</p>