no, you don't understand, the list displays fine but it crashes when I CLICK
on it

"Stephan Veigl" <[EMAIL PROTECTED]> wrote in message
news:39101@palm-dev-forum...
>
> Hi
>
> > What do I have to do with the VoidPtr** parameter when this funciton
> > completes? if I do nothing the program crashes when I click on a list
item
>
> uptate your form pointer :-))
>
> try something like:
>
> FormPtr frmP; // actual form
>
> if ( err=LstNewList( (void **) &frmP, ListID, x, y, width, height, font,
items, triggerID) )
> {
>   // error handling
>   ...
> }
>
> yout form pointer will update automatical with: (void **) &frmP
> if you use a old pointer, your program may crash
>
> by(e)
> Stephan
>
> --
> PGP Fingerprint: 0090 E02F 39A8 F2AF 6A79 43D7 B847 C26D 108E E2F0
> PGP PublicKey: http://www.unet.univie.ac.at/~a9526342/sveigl.asc
>
>



-- 
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