If you need the list ID when the user makes a selection from the popup list,
you can get the ID from the event that is passed to your form event handler:

static Boolean MyFormHandler(EventType *pEvent)
{
    switch (pEvent->eType) {
        case popSelectEvent:
            if (pEvent->popSelect.data.listID == kMyListID)
                ... etc.
    
    }
}

JB @ PalmSource

on 10/17/02 10:16 AM, Thomas Maeder at [EMAIL PROTECTED] wrote:

> Chris Yourch wrote:
>> 
>> Is there a way to determine the list id that a popup trigger control
>> uses without accessing a struct members?
> 
> I don't know of any. This is one the cases where the SDK docs tell you to
> use functions but the SDK doesn't provide any.
> 
> 
>> In other words make the following code ARM portable:
> 
> I'm not sure if it's possible.
> 
> 


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

Reply via email to