combo box horizontal scroll bar

  • Thread starter Thread starter Guest
  • Start date Start date
* "=?Utf-8?B?QnJpYW5ESA==?= said:
Is there a way to have a horizontal scrool bar within a combo box?

AFAIK, no. There is an unmanaged way by watching in the parent's
'WndProc' for 'WM_CTLCOLORLISTBOX' and obtaining the listbox's handle
there. Then you can use 'LB_SETHORIZONTALEXTENT' to set the scrollbar.
 
* "=?Utf-8?B?QnJpYW5ESA==?= said:
ok well for the short term I am testing the length of the dataset
string that is passed into the combo and setting the width so the user
can see all the text.

That will work, but can cause very large combobox dropdowns ;-).
 
Back
Top