Remeber that the basic event loop code is something like this:

                if (! SysHandleEvent(&event))
                        if (! MenuHandleEvent(0, &event, &error))
                                if (! AppHandleEvent(&event))
                                        FrmDispatchEvent(&event);

so basically your callback gets called by FrmDispatchEvent, and based on the
return value of your call back, it calls the default handler or not.

You can call those functions outside of AppEventLoop if you want.


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

Reply via email to