When I use LstSetListChoices to set the items in a list, whenver I click on an 
item it turns into garbbage. Random symbols and at some points it tries to 
access invalid memory.

This is the code I'm using I am setting the text for a list created by the 
resource editor.
-------------------
Char* c[5] = {"one","two","three","four","asdf"};
  list = (ListType*)FrmGetObjectPtr(frm, FrmGetObjectIndex(frm,(UInt16)1000));
  LstSetListChoices(list, c, stringCount);
-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to