C++Talk.NET Forum Index C++Talk.NET
C++ language newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Problem with Combobox with Horizontal Scroll bar in VC ++

 
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ language (comp.lang.c++)
View previous topic :: View next topic  
Author Message
Nishant
Guest





PostPosted: Thu Mar 04, 2004 9:58 am    Post subject: Problem with Combobox with Horizontal Scroll bar in VC ++ Reply with 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
Sumit Rajan
Guest





PostPosted: Thu Mar 04, 2004 10:47 am    Post subject: Re: Problem with Combobox with Horizontal Scroll bar in VC + Reply with quote




"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





PostPosted: Thu Mar 04, 2004 11:13 am    Post subject: Re: Problem with Combobox with Horizontal Scroll bar in VC + Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ language (comp.lang.c++) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.