Am Don, 2002-09-26 um 20.52 schrieb Mike McCollister:
Hi,
> I have a popuplist that may require confirmation from the user after it is
> selected. If the confirmation is denied, then I want to set the list back to
> what it was before. However, that does not happen. Here is some code from my
> event handler routine that I am using.
>
> LstSetSelection(Id2Ptr(listID_game), prefData.game);
> CtlSetLabel(Id2Ptr(popuptriggerID_game),
> LstGetSelectionText(Id2Ptr(listID_game),
IIRC you need to issue a
LstDrawList(Id2Ptr(listID_game));
afterwards to redraw the list.
Daniel Seifert
www.dseifert.de
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/