I am working through volumes of example code and I have a question about the
AppEvent loop.

Most examples and the stationary available in CW6 have the following loop in
the AppEvent
function

        do {
                EvtGetEvent(&event, evtWaitForever);


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

        } while (event.eType != appStopEvent);



My question is what does calling MenuHandleEvent do and why call it if your
form's event
handler processes all the menu options that are included in your program? Is
it the
routine that makes menus created in constructor visible?

thanks for your help.

Nick Torenvliet





-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to