> In short: masking the primary 4 hard buttons on Tungsten C fails and default
> applications (like Memo or Address Book) are launched when not supposed to.
> Same code works ok on every other Tungsten we tried.

word of caution, *avoid* using KeySetMask() at all costs.

first the Tungsten|C is known for a low key repeat rate (or, was it high)
and, the KeySetMask() pretty much didn't work either :) it used to work
very well for pre OS3.2 devices (ie: thats when extra buttons came about)

if you want to not exit your application, capture the keyDown event for
the key prior to calling SysHandleEvent() - and, dont let it go through.
if you set the KeyMask, some devices which have an 'applications' button
may no longer continue to function.. (ie: Sony TG50, Tapwave Zodiac) - 
giving no way to actually leave the application :(

---
Aaron Ardiri
[EMAIL PROTECTED]
http://www.mobilewizardry.com/members/aaron_ardiri.php [profile]

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

Reply via email to