AppEventLoop
static void AppEventLoop(void)
{
Word error;
EventType event;
do {
EvtGetEvent(&event, evtWaitForever);
if (! SysHandleEvent(&event))
if (! MenuHandleEvent(0, &event, &error))
if (! AppHandleEvent(&event))
FrmDispatchEvent(&event);
/*
** do other stuff here
*/
} while (event.eType != appStopEvent);
}
Previous slide
Next slide
Back to first slide
View graphic version