YC,

you have to make sure that MenuHandleEvent does not get the event.
Insert the code that checks for menu events in your application event loop.
See below for code snippet.

eg.
void EventLoop(void)
{
        Err myErr = errNone;
        EventType event;

        do
        {
                EvtGetEvent( &event, EVENT_LOOP_TIMEOUT );

                if (! SysHandleEvent( &event ) )
                {
// !!check for disabled here!!
// then proceed appropriately...
                        if ( !MenuHandleEvent( NULL, &event, &myErr ) )
                        {
                                if (! ApplicationHandleEvent( &event ) )
                                {
                                        FrmDispatchEvent( &event );
                                }
                        }
                }
        }
        while ( appStopEvent != event.eType );
}

E/.
________________________________________________________
I'm working wirelessly are you?...Get Mobile at http://www.symmetrypro.com

Evan Wise
Sprite Herder
infowave
E: [EMAIL PROTECTED]
T: 604 473 3779
F: 604 473 3633



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

Reply via email to