Hi all,

I'm haveing strange event problems. I use the 
normal event loop similar to this one :

static void EventLoop (void) 
{ 
   UInt16 error; 
   EventType event; 
   do 
      { 
      EvtGetEvent (&event, evtWaitForever); 
       
      PreprocessEvent (&event); 
       
      if (! SysHandleEvent (&event)) 
          
         if (! MenuHandleEvent (NULL, &event, &error)) 
             
            if (! ApplicationHandleEvent (&event)) 
               FrmDispatchEvent (&event);  
  
      } 
   while (event.eType != appStopEvent); 
} 

the problem is that PreprocessEvent never receives the
frmTitleSelectEvent event, althrough I don't intercept it
anywhere. By tracking the events in the reporter I've
also seen that taping on the title area only generates
penDown and penUp events, when normally it should be
penDown and frmTitleSelectEvent.

Any ideas on why can this happen? Thanks in advance
-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to