I've come across a little bit of a conflict in this method...
On Wed, Mar 13, 2002 at 01:40:45PM -0800, ThuNguyet Nguyen wrote:
> if (EvtKeydownIsVirtual(eventP)) {
> switch (eventP->data.keyDown.chr) {
> case vchrPageUp:
> // do something
> handled = true;
> break;
>
> case vchrPageDown:
> // do something
> handled = true;
> break;
The unfortunate thing about that is that even when you use
vchrJogPageUp/Down and sucessfully catch it, it will still send a
vchrJogRelease when you let go. So you still need to put a boolean
in there to track whether it is pushed down or not, if it is
pushed down (set to true if calling vchrJogPageUp/Down) then when
vcjrJogRelease is called it checks that, if its true then it
ignores the procedure... at the end of Release, it forces the
boolean to be false to reset it.
--
Adam McDaniel
Array Networks
Calgary, AB, Canada
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/