April 16th, 1999, 07:13 AM
I have been writing an ActiveX Control with Visual C++ Version 5.0 that subclasses a Windows ListBox.
I have been testing my control in various containers and discovered the following problems:
a)Depending on the size of the container the ListBox is displayed differently.
Sometimes the ListBox fills nearly the whole size of the container, sometimes it leaves up to 15 pixels
of the container undrawn (at the bottom of the ListBox).
b)The vertical scrollbar of my ListBox behaves strangely. Scolling with the arrow buttons functions correctly except
that the slider remains at the top of the scrollbar. When I drag the slider downward the items of my
ListBox are scrolled but releasing the slider makes it move back to the top.
I'd be pleased to recieve any comments solutions on these problems.
Carpe diem
Helge Schneider
I have been testing my control in various containers and discovered the following problems:
a)Depending on the size of the container the ListBox is displayed differently.
Sometimes the ListBox fills nearly the whole size of the container, sometimes it leaves up to 15 pixels
of the container undrawn (at the bottom of the ListBox).
b)The vertical scrollbar of my ListBox behaves strangely. Scolling with the arrow buttons functions correctly except
that the slider remains at the top of the scrollbar. When I drag the slider downward the items of my
ListBox are scrolled but releasing the slider makes it move back to the top.
I'd be pleased to recieve any comments solutions on these problems.
Carpe diem
Helge Schneider