OWL NExt - Knowledge Base

[ Home | Contents | Search | Next | Previous | Up ]

Horizontal Scrolling in a TListBox

Date: 11/30/99
Time: 1:27:00 AM

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.

Last changed: July 14, 2001