When you initialize your list, did you use LstSetSelection() and 
initialize the selection to noListSelection?


On 4 Jun 2002 at 16:37, ThuNguyet Nguyen wrote:

> Hello all,
> 
> Please tell me what I do wrong.
> 
> I am using CW 8 (update to 8.2) on the POSE ver 3.5 (m505 skin).
> 
> I have a dialog form that has a popup trigger associated with a list.
> Content of the list is dynamically created inside the program. If user
> selects the 1st item in the list, LstGetSelection() return 0 If user
> doesn't select any item in the list, LstGetSelection() also return 0 while
> I think it should return noListSelection.
> 
> Do I have to try to catch lstSelectEvent? Since this is a dialog form, I
> just want to get out of it when user press a button. I don't want to check
> any other event.
> 
> How do I know that the list is no selected???
> 
> Thanks a lot for any help.
> 
> tnn
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
> 
> -- 
> For information on using the Palm Developer Forums, or to unsubscribe,
> please see http://www.palmos.com/dev/support/forums/
> 
> 


John Leung
[EMAIL PROTECTED]
http://persweb.direct.ca/jleung


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to