Peter,

>My advice is to avoid using custom events for communicating information
>within your application. I think custom events may have some utility, but I
>do agree that they may do more harm than good because they sure seem more
>useful than they really are.

What brought me into the Palm programming fold was creating bar code scanning
applications for the Symbol SPTxxxx or Visor/CSM150.  The Symbol SDK uses three
custom events to notify applications of a scan start, decode, or low battery
condition.

Might it have been better if Symbol had these implemented as virtual key codes?
The actual event values always seemed funny to me, because they are documented
as the range 34815 to 34817, yet the event code seems to be a signed Int16, so
should max out at 32767.  This can map the events to -30721 to -30719 if treated
as a signed value.

Any comments?

Doug

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to