Philip Ho wrote:
> 
> Can anybody give me an example of when FrmDispatchEvent(&event) is
> called? I seem mix up between this function and
> ApplicationHandleEvent.....

   A typical event loop looks like

   if(!SysHandleEvent(&event))
      if(!MenuHandleEvent(NULL, &event, &error))
         if(!AppEventHandler(&event))
            FrmDispatchEvent(&event);

which means that FrmDispatchEvent is called only if the System
didn't handle the event, the current menu didn't handle the
event and the current application _didn't_ handle the event.

Regards,
Daniel.

Reply via email to