Hi,
I have tried handling Hard Buttons within AppEventLoop instead of
FormEventHandler. Its working fine. Please try the following codes.
---
static void AppEventLoop(void)
{
UInt16 error;
EventType event;
do {
EvtGetEvent(&event, evtWaitForever);
if (e
You may have to catch these key events in your main event loop before
calling SysHandleEvent. I suspect that SysHandleEvent absorbs the key event
(i.e. it returns true so that your form handler is never called), and places
the appStopEvent on the queue.
Eric W. Sirko
Softworks Solutions, LLC
1. Yes I have returned true value
2. I am able to handle the silk screen and hard key down events in the event handler
of the form and do nothing in that , but still the application quits and responds to
Launcher and Calculator and other hard keys.
I have pre-empted the System handling the even