Re: Does LstSetListChoices() copy or use the itemsText parameter pass ed?

2008-05-28 Thread chongwm
Nope, the document states that, though not in the exact words IT DOES NOT MAKE A COPY. -LstSetListChoices (ListType *listP, Char **itemsText, UInt16 numItems) -Parameters : itemsText Pointer to an array of text strings. So, u would have to do something like this: void foo() { Char* *strArray;

RE: Does LstSetListChoices() copy or use the itemsText parameter pass ed?

2008-05-28 Thread Gavin Maxwell
Basically if the API name has Set in the title it merely stores a reference to whatever you pass in, if it has Copy in the name it will actually copy what you pass it. eg FrmCopyTitle copies the string you pass it. Regards, Gavin. -- For information on using the ACCESS Developer Forums, or

Re: Does LstSetListChoices() copy or use the itemsText parameter pass ed?

2000-10-29 Thread chongwm
Nope, the document states that, though not in the exact words "IT DOES NOT MAKE A COPY". -LstSetListChoices (ListType *listP, Char **itemsText, UInt16 numItems) -Parameters : itemsText Pointer to an array of text strings. So, u would have to do something like this: void foo() { Char*

RE: Does LstSetListChoices() copy or use the itemsText parameter pass ed?

2000-10-29 Thread Gavin Maxwell
Basically if the API name has "Set" in the title it merely stores a reference to whatever you pass in, if it has "Copy" in the name it will actually copy what you pass it. eg FrmCopyTitle copies the string you pass it. Regards, Gavin. -- For information on using the Palm Developer Forums, or