On pg. 249 of the Bible, there is the snippet that changes the label of a popup trigger. It just goes ahead and does a StrCopy() and call CtlSetLabel(). How can this be safe?
I would guess there will be enough space allocated for the popup trigger's label to hold any of the strings in the associated list. But if you are using LstSetListChoices(), as it says on pg. 249 that it would be ok to do, what if you allocated a new longer string in the list ? Wouldn't that cause problems?
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
