I'm having a list without scrollbars that display strings that I build
dynamicly. When the items fit in the list everything works fine, but when
they don't the list gets a bit wierd.

Lets say the list looks like this (containing 4 items):
----------
| Item1  |
| Item2  |
| Item3 v|
----------
(where v is the scroll-down button)

When I hit the scroll-down button the result is this:
----------
| Item2 ^|
| Item3  |
|        |
----------

And when I hit scroll-up button this happens:
----------
|        |
| Item3  |
|       v|
----------

But if I call LstDrawList() the list updates to what it should be (all items
that fit showing).
The problem is that I can't find a event to catch when I hit the scroll
buttons.

What am I doing wrong??

Technical notes:
* I'm not using a custom drawing function.
* I call LstSetListChoices() to set the Item texts.
* All itemtexts are present during the lifetime of the list in a locked
memorychunk.


Regards,
Andreas Eklund

Reply via email to