Problem:  Is it possible to define application custom UI events that can be used
to communicate between forms in an application?

I ask because I notice the event type enum uses a very narrow range of the
possible enum values, and there appears to be a 'generic' structure in the
event data union (I've been poking around in Event.h, look at
EventType.data.generic! ).

My experiments tend to suggest that any events with 'funny looking' event types
simply get passed back to the application's event handlers. I.e. the PalmOs
doesn't appear to reject event types not defined in Event.h. Which is exactly
what I want.

Questions: Is there an accepted standard for generating custom events? 

What event types should I be using for my custom events (currently I'm using
event numbers at the bottom end of the -ve Ints)? 

Are custom events an intended feature of the PalmOS or will it start treating
them as errors at some point in the future? 

Is anyone else generating custom UI events out there?

Any help would be greatly appreciated!

Stuart Nicholson

Reply via email to