Hi Marc
I checked some old code and the names of the hard buttons were defined as:
hard1Chr
hard2Chr
hard3Chr
hard4Chr
pageUpChr
pageDownChr
Not sure if this is valid for 3.5, but it may help.
Regards
Ray
----- Original Message -----
From: Marc Campbell <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: Palm Developer Forum <[EMAIL PROTECTED]>
Sent: Sunday, April 02, 2000 2:35 AM
Subject: Intercepting hard keys
> I am probably missing something obvious here, but I am trying to intercept
> the hard buttons in the EventLoop, and it just won't compile with GCC.
Here
> is what I have:
>
> EventType event;
>
> EvtGetEvent(&event, 200);
>
> if (event.eType == keyDownEvent)
> {
> if (event.data.keyDown.chr >= keyBitHard1 && event.data.keyDown.chr
<=
> keyBitHard4)
> continue;
> }
>
> When compiling with GCC, I get a "parse error before '0x0004' on the line
> that checks what key was pressed. If it matters, I am using the 3.5 SDK.
I
> would appreciate any ideas...
>
> Thanks-
> Marc
> [EMAIL PROTECTED]
>
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palm.com/devzone/mailinglists.html
>
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html