Hi,

I wanted to display a password form on timeout for that I included to the 
following launch  code in my pilot main 

                        
case sysAppLaunchCmdDisplayAlarm:
     Display((SysDisplayAlarmParamType *)cmdPBP);
    break;   

my Display function

static void Display(SysDisplayAlarmParamType * cmdPBP)
{
  
  FormType *form , *curForm;
  
  form = FrmInitForm(SetPassword1Form);
  curForm =  FrmGetActiveForm();
  if(curForm)
     FrmSetActiveForm(form);
     
  FrmSetEventHandler(form,SetPassword1FormHandleEvent);
  FrmDrawForm(form);
  
 
  FrmDoDialog(form);
  FrmDeleteForm(form);
  FrmSetActiveForm(curForm);   

}                            

My SetPassword1Form gets displayed  after time out (used Palm API)
but problem is that I want to goto some other form using a button in  
SetPassword1Form. 

please help me with it .


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

Reply via email to