Hi all,

I'm updating a list (not a popup) from my application after the number of
items has changed,
for example becouse one item in the list was deleted. The result seems to be
that the list's
internal structure is updated indeed but not the display itself. The display
itself gets jammed
up. When I walk through the items in a loop and display each of them in an
alert box,
everything seems fine with the used char * array and item counter (both
static). Before I
change anything in the array I first call LstSetListChoices with a NULL
pointer with number of
items set to 0. after updating the array, I call LstSetListChoices with a
pointer to the array and
number of items set to the actual number of items in the array. Finaly I
call LstDrawList to
display the modified list. The char array's themselfs are allocated with
'new' and free'ed with
'delete'.

Please let me know what I am doing wrong.

Sander

Reply via email to