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