In AppEventLoop, after you've gotten an event with EvtGetEvent, but
before you call SysHandleEvent:

- check wether the event is a keyDownEvent
- if it is, check wether the key is the CR return (check docs / google)

If both tests are true, simply skip the rest of the loop, for instance
by using continue.

Good luck,

Caspar

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Eric
Potter
Sent: Thursday, April 01, 2004 9:35 PM
To: Palm Developer Forum
Subject: blocking the carriage return when the keyboard is displayed.

Is it possible to block the carriage return character when the keyboard 
is displayed? I was looking at Keyboard.h and there are a bunch of 
functions that aren't documented, so I don't know what they do. I see 
there is a #define for the return key, but I don't know if or how I 
would use this definition.

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

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

Reply via email to