Hi Folks,
  I am newbie to this field, So this Question may be silly, but I need the 
solution.

Now,
  I want to Display the form and quickly exit from it. But I want to do it just 
before the device goes to sleep. And when we display the form & look at the 
events that are generated (By Rigth Clicking on the simulator ->View->Events), 
frmOpen & frmLoad events should not get displayed. 
 But in doing so, following things should be taken care of:

//The appStop event should be preceded by 2-5 keyDown events 
//Then appStop ->sysWinEnter -> keyDown event 
//In doing so, A form should appear and then quickly disappear 
//and then the device goes off 
//Remember last keyDown should not be followed by any events as 
//after this keyDown event the device should be Off. 
//You can see what events are generated through simulator. 
//RightClick on Simulator ->view -> Events 
//frmOpen,frmLoad,frmUpdate should not appear... 

 The sequence of events that are generated should be as follows: 

. 
. 
. 
keyDown 
keyDown 
appStop 
sysWinEnter  enterWindow=0xF02E80, exitWindow=0x0 
keyDown      chr=0x11E (''), keyCode=0x0, modifiers=0x8 

//Device goes off now 

Also..explain me,if the solution provided by you involves some complex things 
that I need to understand properly. 

Thank you for giving precious time to read this... 

Your help is much appreciated... 

Reply me, if you want more detail on to this issue.

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

Reply via email to