title: HSCROLL and VSCROLL in Combobox
body: <p>I have successfully created a combobox with <code>HSROLL</code> as follows :</p>
  
  <pre><code>HWND find = CreateWindowEx(0, WC_COMBOBOX, _T(""), CBS_DROPDOWN | WS_VISIBLE | WS_CHILD |     
                             CBS_AUTOHSCROLL | WS_HSCROLL | WS_VSCROLL,0, 1, 100 30,
                             hwndToolbar, (HMENU)0, ghinst, NULL);
  
  SendMessage(find, CB_SETHORIZONTALEXTENT, (WPARAM)1000, 0);
  </code></pre>
  
  <p>But it also gives the <code>VSCROLL</code>, even if there are only 2 items. This is very ugly. If I drop the <code>WS_VSCROLL</code>, it solves the problem.</p>
  
  <p>On the other hand, I also used :</p>
  
  <pre><code>SendMessage(find, CB_SETMINVISIBLE, (WPARAM)20, 0);
  </code></pre>
  
  <p>to show 20 items only, other items are showed by <code>VSCROLL</code>. The VScroll bar will appear only if there are more than 20 items. So I can not drop <code>WS_VSCROLL</code>.</p>
  
  <p>Do you have any idea about how to use 'CB_SETHORIZONTALEXTENT' without VSCROLL bar when there are fewer items ?</p>