I cannot make head or toes of your code. What I can advise is that most
probably the other FrmGotoForm() is called immediately after the first one
(the function does not stop when you call FrmGotoForm(), so you do not see
the first form.
LionScribe

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Marianne
Sent: Friday, August 29, 2003 2:16 AM
To: Palm Developer Forum
Subject: Please Wait


Hello

I want to add the " Please Wait  " that appears when application delete menu
option is selected..
What I did was , I created a form of width 70 and height 20 and left origin
40, top origin 80...
Put a label of Please Wait..
And i called FrmGotoForm(PleaseWaitForm) in UIPalmMain() which is called in
PilotMain()...
 Shown below is in UIPalmMain() :


case sysAppLaunchCmdNormalLaunch:

     if( CheckPalmOff() )   //check if the sensor has given keyboard off or
palm off events
     {
   FrmGotoForm(PleasewaitForm);
   AppEventLoop();

    error = AppStart();

    if (error == ErrCommError )
         { // if error in AppStart ,  don't launch the UI & return .
          DriverStop() ;
             return error;
         }

         // start application by opening the main form
         // and then entering the main event loop
         FrmGotoForm(MainForm);
      AppEventLoop();

         AppStop();
        }

        break;

And I have handles frmLoad event and frmOpent Event properly..
But I can't see the form when I click my UI icon..

Can anyone help me out

Thanks in advance

Regards
Marianne


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



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

Reply via email to