Главная страница | назад





Article #16524: Horizontal Scrolling in a TListBox

 Question and Answer Database

FAQ1524C.txt   Horizontal Scrolling in a TListBox
Category   :OWL
Platform    :All
Product    :BC++  5.x

Question:


I don't seem to be able to get a horizontal scrollbar to appear in my 
TListBox, even though I have a WS_HSCROLL style in its attributes.  

Answer:


You need to use SetHorizontalExtent(), AFTER creation of the TListBox,
to make the listbox have a horizontal extent which is larger than the 
horizontal dimension of the listbox.

7/2/98 10:32:32 AM
 

Last Modified: 01-SEP-99