> -----Original Message-----
> From: Nicholas Breau [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 12, 2000 10:04 AM
> To: Palm Developer Forum
> Subject: Re: Popup Trigger Draw Function ?
>
>
> I can't do this, because the list crashes when I select an
> item without
> handled=true;
Nicholas, even though it appears that you past this problem, you might want
to investigate this crash a little further. If the "list crashes" (a little
more description would be helpful) when you let the OS draw the Poptrig's
label -- that is, handled <- FALSE -- I would be concerned.
Your post caught my eye because I had the same kind of crash the first time
I played around with dropdown lists. One gotcha is the List resource's
strings. If you've entered them statically in Constructor, you should be
ok. On the other hand, if you dynamically assign their values by
constructing an array of strings and using LstSetListChoices( (ListPtr)
pTheList, (char**) pMyStringArray, ... ), you must ensure that
pMyStringArray is valid for the duration of the list. In other words, don't
deallocate or play with pMyStringArray or any of the pointers therein until
frmClose.
-Jeff Ishaq
Vanteon, formerly The Windward Group
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html