|
-
Oct 25th, 2001, 03:14 PM
#1
Thread Starter
Lively Member
Horizontal bar in ComboBox???
I found some very nice code from VB world which will allow me to create a combobox which can expand to the maxium length of my list. However, to me that is not good enough. Is there a way that I can put Horizontal bar in the Combobox's drop down list? Thanks very much.
-
Oct 25th, 2001, 03:33 PM
#2
PowerPoster
You could extend with width of the dropdown instead
http://www.vb-world.net/tips/tip116.html
-
Oct 25th, 2001, 03:40 PM
#3
Thread Starter
Lively Member
Thanks very much, actually I saw those code before. But the problem I have is because my text in Combobox is too long, it will reach out of screen. That why I think about scrollbar.
-
Oct 25th, 2001, 03:43 PM
#4
PowerPoster
As combos and listboxs are very similar, you could try this
http://www.mvps.org/vbnet/index.html...lextentadv.htm
-
Oct 25th, 2001, 04:04 PM
#5
Thread Starter
Lively Member
That is whay I thought too. But the code only work for Listbox not combobox. I don't know why. Thanks very much
-
Oct 25th, 2001, 04:15 PM
#6
Thread Starter
Lively Member
I think I may catch the hwnd for the drop down of Combo box. Then I may be able to sendmessage with scrollbar to it. But I don't know how to catch the hwnd of the drop down list of the combo box. Please help
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|