Re: Re:Re: Disabling hard and silk screen buttons

2001-06-01 Thread manikumar
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

Re: Re:Re: Disabling hard and silk screen buttons

2001-06-01 Thread Eric W. Sirko
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

Re:Re: Disabling hard and silk screen buttons

2001-06-01 Thread Vijay Raghavan
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