combo box horizontal scroll bar

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there a way to have a horizontal scrool bar within a combo box?

Thanks
 
* "=?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 ;-).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top