ListPtr listP = GetObjectPtr ( eventP->data.lstSelect.listID );
UInt8 selected = listP->currentItem;
To get the number of the currently selected item... the event type if
lstSelectEvent
-----Mensaje original-----
De: Kapil Konde <[EMAIL PROTECTED]>
Para: Palm Developer Forum <[EMAIL PROTECTED]>
Fecha: Viernes, 27 de Abril de 2001 02:24 a.m.
Asunto: List Control
>Hi All,
> I am new to palm programming. I am currently trying to use a list control
>in my application and dynamically fill the items in the list. I also want
>to handle events for this list such as highlighting the selected item in
>the list ans so on. If anybody can tell me how shhould I do this or send me
>some sample code I will be very thankful to you.
>
>Regards,
>Kapil.
>
>--
>For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/