Thanks for sharing the knowledge. 
I've adapted the app, including deleting the done button (which was actually
needed, because I wanted to have a button -any button- as an exercise in
building my first app)

> -----Original Message-----
> From: Alan Pinstein [mailto:[EMAIL PROTECTED]]

> That's almost the right way. You need to do this, too:
> 
> >eventType newEvent;
> 
> MemSet(&newEvent, sizeof(newEvent), 0);       // init all members to 0
> 
> >newEvent.eType = appStopEvent;
> >EvtAddEventToQueue(&newEvent);
> >// eventHandled = true;      // not needed

> HOWEVER, you shouldn't have a DONE button for your application. 

Reply via email to