To get the text of the list do the following
switch(eventPtr->eType)
{
case popSelectEvent :
eventPtr->data.popSelect.controlID // shall give the pop up
trigger resource id
eventPtr->data.popSelect.controlP // shall give the PopUpControl
Ptr
eventPtr->data.popSelect.listID // shall give the list
resource id
eventPtr->data.popSelect.selection // shall give the index of
the item selected in the list.
eventPtr->data.popSelect.listP // is the pointer to the list
break;
}
this event is fired when a user selects the item of the list associated with
the popuptrigger.
If u shall return false from here then the poptrigger label shall get
changed automatically to the
item selected in the list.
if u return true from above then the popuptrigger shall not get changed
automatically
and u shall have to change it explicitly.
I hope this info solves u r question.
Try inserting breakpoints in code and debug the code.U shall get an in depth
knowledge of things.
Regards,
Vikas Lakkashetti
CxProtect - By Calibre Technologies http://www.calibretechnologies.com
Scanned With Command Antivirus For Linux with FProt Engine
----------------------------------------------------------------------
CxProtect Antivirus For Linux Mail Server version 2.52
Calibre Technologies. (c) 2001. www.calibretechnologies.com
Antivirus Engine : Command Antivirus by Command Software Systems, Inc
CxProtect : Engine Version : 4.91 Engine Id : 1C
CxProtect : SIGN.DEF File Create On : 13-Dec-2001
CxProtect : SIGN2.DEF File Create On : 13-Dec-2001
CxProtect : MACRO.DEF File Create On : 13-Dec-2001
-ARCHIVE -DISINF -PACKED -SAFEREMOVE -ALL
MessageID : <004001c1daea$8de3bf00$412c0ac0@houseofcode>
eMail Contains 0 attachments.
Total Infections : 0
Attachments Cleaned : 0
was scanned and no virus found
----------------------------------------------------------------------
Scanned with Antivirus !
----------------------------------------------------------------------
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/