you can capture KeyDownEvent in your FormHandleEvent like :
      case keyDownEvent:
        switch (event->data.keyDown.chr)
        {
           case pageUpChr:
              .
              .
              .

           case pageDownChr:
              .
              .
              .

         }

good luck!

----- Original Message ----- 
From: "quennie" <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Friday, July 19, 2002 11:25 AM
Subject: Scroll a page using Up/Down Button


> Hi.
> 
> I have created a scroll bar and successfully scroll up/down through a page
> using stylus. But, I would like to scroll up/down through a page using the
> up/down button of Palm instead of stylus. What is the event we should call?
> Is this similar to the scroll event function that make use of
> FrmHideObject/FrmShowObject? Does anybody can give me some idea or any other
> resources? Thanks for your help.
> 
> 
> 
> -- 
> For information on using the Palm Developer Forums, or to unsubscribe, please see 
>http://www.palmos.com/dev/support/forums/
�b��j(��i��0y�l���&���(��ڞK.��������Ţ��~��jب���)��jY�z��������+������r��z�^jǬy�m����
)jY���&�ׯ�˩�����+�k?


Reply via email to