> For some reason, keydown event does not work when I
> call it from ReceiveData() function.
Terminology: you don't "call" an event; you put it into the event queue.
> void EventLoop ()
> {
> ...
> actionN1_cf_()
> do{
> ...
You're enqueuing the event once when your app starts, before it enters its
event loop. You mentioned a ReceiveData function, but I don't see that in
your code. Also, there's no semicolon after the actionN1_cf_ function call.
Let's see the real code! :)
--
Danny @ Palm
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/