I have a listbox that can display 10 lines, but I add a string which is more than 10 lines.
How could I turn on the scrollbar of ListBox manually if I do not want to adjust height of listbox?
Thank you!
Printable View
I have a listbox that can display 10 lines, but I add a string which is more than 10 lines.
How could I turn on the scrollbar of ListBox manually if I do not want to adjust height of listbox?
Thank you!
Just use the WS_VSCROLL style when you create the listbox.
anonytmouse ,
I have used WS_VSCROLL.
There should be enough items to active scrollbar.
I just have one item on listbox, but the string of that item is too much.
Becuase of one item, the scrollbar did not active.
How can I active it?
Thank you!