 |
C++Talk.NET C++ language newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Nishant Guest
|
Posted: Thu Mar 04, 2004 9:58 am Post subject: Problem with Combobox with Horizontal Scroll bar in VC ++ |
|
|
I have a combo box with a horizontal scroll bar.
(Used SetHorizontalExtent)
The dropdown with horizontal scroll bar works fine when I have more
items in the dropdown list. However when the number of items is less,
the horizontal scroll bar comes over the last item.
If there is only one item, I am not able to see that item because of
Horizontal scroll.
If there are two items , it is funny that the V Scroll also shows up.
Thanks in advance.
Nishant
|
|
| Back to top |
|
 |
Sumit Rajan Guest
|
Posted: Thu Mar 04, 2004 10:47 am Post subject: Re: Problem with Combobox with Horizontal Scroll bar in VC + |
|
|
"Nishant" <fusasist (AT) infosys (DOT) com> wrote
| Quote: | I have a combo box with a horizontal scroll bar.
(Used SetHorizontalExtent)
The dropdown with horizontal scroll bar works fine when I have more
items in the dropdown list. However when the number of items is less,
the horizontal scroll bar comes over the last item.
If there is only one item, I am not able to see that item because of
Horizontal scroll.
If there are two items , it is funny that the V Scroll also shows up.
Thanks in advance.
Nishant
|
http://www.parashift.com/c++-faq-lite/how-to-post.html#faq-5.9
|
|
| Back to top |
|
 |
Jagadeesh VN Guest
|
Posted: Thu Mar 04, 2004 11:13 am Post subject: Re: Problem with Combobox with Horizontal Scroll bar in VC + |
|
|
In that case, call SetHorizontalExtend( .. ) with 0, and use
SetDroppedWidth(...)
"Nishant" <fusasist (AT) infosys (DOT) com> wrote
| Quote: | I have a combo box with a horizontal scroll bar.
(Used SetHorizontalExtent)
The dropdown with horizontal scroll bar works fine when I have more
items in the dropdown list. However when the number of items is less,
the horizontal scroll bar comes over the last item.
If there is only one item, I am not able to see that item because of
Horizontal scroll.
If there are two items , it is funny that the V Scroll also shows up.
Thanks in advance.
Nishant
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|