With a list I use a custom draw function. Call LstSetDrawFunction and have
it point to your list draw routine. I haven't had a problem doing it that
way.
When you say 'when they don't fit' do you mean on a per-line basis or in #
of items in your list?
-----Original Message-----
From: Andreas Eklund <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Thursday, August 19, 1999 4:18 AM
Subject: Text doesn't show when list is scrolled
>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
>
>