So, where the problem is ?

If you pass keyDownEvent for a bottom key to SysHandleEvent,
it will process it and it won't be dispatched any further.

What you do to prevent that? Put a filter that does not
call SysHandleEvent for a keyDownEvent with vchrPageUp
as keyCode. This will do the trick.

Michael


-----Original Message-----
From: Alexander Povalyaev [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 20 December 2001 6:13
To: Palm Developer Forum
Subject: Scrolling by means of button


I wrote the following code to be able to scroll text in my window
by means of button on the Palm Device:
  case keyDownEvent:
      if (eventP->data.keyDown.keyCode == vchrPageUp)
      {
        <some actions>
But when I load the considered program to the Palm Device Emulator it
doesn't work.
Help me, please.

Sincerely yours, Alexander.




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

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

Reply via email to