Hi All,

i have a small problem........

I have a list(with say 3 visible elements) on my form.
I insert 'n' number of new text items(i do not add any
text,i just leave the text items blank ) in the list
where n>3 so that i get a scroll arrow automatically.

Now in my program i have a 

char **xyz;
each xyz[ ] points to a null terminated string  

Now i fire the following statements :

f1=FrmGetActiveForm();
wIDList=FrmGetObjectIndex(f1,DetailsSelectionListList);
ListPtr pList=(ListPtr)FrmGetObjectPtr(f1,wIDList);
LstSetListChoices(pList,xyz,i); //i here is the number
of strings
LstDrawList(pList);

The strings are getting added in the list but when i
tap the scroll down arrow on the list i get a prompt
saying "Trying to read from unallocated memory chunk"

I get the same prompt if i select the first visible
element and use a 

pSMeeting=LstGetSelectionText(pList,uIndex);


What am i doing wrong ?

any clues ?

Thanks
Nitin

__________________________________________________
Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to