whups.  looking at the source, LstDrawList doesn't care about attr.visible,
it cares about attr.usable.
when deleting text do you call LstSetListChoices?  that implicitly erases
the list.

i don't know why it would make a difference about deleting or adding text.
i suspect that's a red herring and that there's something different in your
code between the two codepaths.


-----Original Message-----
From: Michael S. Davis <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Tuesday, May 04, 1999 8:57 AM
Subject: Re: Updating a List Problem: Still - Followup


>On Mon, 3 May 1999, Chris Antos wrote:
>
>> >Any clue why the list is only updated when chars are added but
>> >not deleted?  Hope I havn't made any typos.  It acts as though
>> >the list element is not erased but rather just overwritten,
>> >with new data, less the '\0'.
>>
>> try calling LstEraseList and then LstDrawList.  LstDrawList won't redraw
the
>> list if the list is already marked as visible.
>
>Well this fixed the problem.  But the reason I did not use
>this in the first place what that it said the visible attribute
>was set to FALSE and I thought that somehow this might make
>the screen blink.  But it doesn't.
>
>But I'm still confused, and I guess I really don't need an
>answer, but why DOES the list get redrawn, even if visible which
>it is, when I ADD characters but not when I delete them?
>
>Seems that if the problem was really to do with the visible
>attribute then ADDING as well as DELETING would not be updated.
>
>Thanks
>
>----------------------------------------------------
>Shoot-to-Win
>
>Protect the 2nd Amendment
>----------------------------------------------------
>
>

Reply via email to