On Wed, 28 Apr 1999 [EMAIL PROTECTED] wrote:
> Man, our documentation sucks. Here's what it says for LstSetListChoices:
> 
> -----
> LstSetListChoices
> Purpose: Set the items of a list to the array of text strings passed to
> this function. This function doesn't affect the display of the list. If the
> list is visible, erases the old list items.
> -----
> 
> I wish it would make up it's mind: does it affect the display or doesn't
> it?
> 
> Anyway, another area where the docs fall down is that it doesn't mention
> that the function results in the list object merely copying the pointer you
> pass in.  It does *not* copy the strings themselves. That is, you should
> *not* free up the memory afterwards.

  you need to free the memory up.. just after your dispose of the
  dialog window.. i was freeing the memory before i popped the
  dialog up on the screen.. works fine now.

az. 
--
Aaron Ardiri 
Lecturer                       http://www.hig.se/~ardiri/
University-College i G�vle     mailto:[EMAIL PROTECTED]
SE 801 76 G�vle SWEDEN       
Tel: +46 26 64 87 38           Fax: +46 26 64 87 88
Mob: +46 70 352 8192           A/H: +46 26 10 16 11

Reply via email to