I have an application that has muliptle pages. When I have my application
assigned to a hard button and it is pressed multiple time, it will go to the
next page. However, I have found that when I assign my application to one of
the T3 soft buttons that pressing it multiple times does not make it change.
Here is a portion of code that I am using. Right now I am check if the char is
a hard key but I'm sure that I have to check for something else here. What is
the right thing to do?
// handle pressing of application button multiple times
if(event.eType == keyDownEvent)
if(TxtCharIsHardKey(event.data.keyDown.modifiers,
event.data.keyDown.chr))
if(!(event.data.keyDown.modifiers & poweredOnKeyMask))
GotoNextPage();
Note that the built-in applications do no respond to this.
Thanks,
Mike
__________________________________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/