title: MFC add scrollbar to CWnd member
body: <p><br>I have a member of CWnd class name mywindow
  <br>and i want to add to it a scroll-bar.
  <br>how i can do it?</p>
  
  <p>i try already to do:</p>
  
  <pre><code>mywindow.EnableScrollBarCtrl(SB_BOTH,TRUE);
  </code></pre>
  
  <p>it display both Horizontal and Vertical scroll-bars,
  <br>but i cannot push the buttons or move the scroll-bars.
  <br> i try also after the first command:</p>
  
  <pre><code>mywindow.EnableScrollBar(SB_BOTH,ESB_ENABLE_BOTH);
  </code></pre>
  
  <p>and it change nothing.</p>
  
  <p>can someone could show me a simple example how to add scroll-bar to this member?</p>
  
  <p>thanks a lot,
  <br>Tal</p>