RE: Please Wait
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/
Re: please wait dialog not working
At 14:58 2001/08/17 -0500, you wrote: >hi, > >im trying to implement the please wait dialog in my app. This is what im >doing with my code, here are two snippets of my code, I call >FrmPopupForm(PleaseWaitForm) and that goes to the PleaseWaitForm Event >Handler. The PleaseWaitForm waits for a nilEvent, when it occurs I call >FrmReturnToForm(0). Then i want it to keep processing and go to >ConfigName(UnsuccessfulAlert). Try this sort of thing pDialog = FrmInitForm(formID); FrmDrawForm(pDialog); ... do the thing that takes awhile. not good to take too long... FrmEraseForm(pDialog); FrmDeleteForm(pDialog); Another option is to implement a progress dialog. Erik Blake >Now it goes through with no errors, but the Please Wait From never gets >displayed. I don't know how to do it??? > >Thanks for any help... > >James > >case ctlSelectEvent: > { > switch (eventP->data.ctlSelect.controlID) > { > >case ConfigOKButton: > FrmPopupForm(PleaseWaitForm); > ConfigName(UnsuccessfulAlert); > FrmReturnToForm(RetrieveSendForm); > handled = true; > break; > >static Boolean PleaseWaitFormHandleEvent(EventPtr eventP) >{ >Boolean handled = true; >FormType*frmP = FrmGetActiveForm(); > > switch (eventP->eType) > > { > case frmOpenEvent: >frmP = FrmGetActiveForm(); >FrmDrawForm ( frmP); >handled = true; >break; > > case nilEvent: >FrmReturnToForm(0); >handled = true; >break; > > default: >break; > > } > > return handled; >} > > >Thanks > > > > >-- >For information on using the Palm Developer Forums, or to unsubscribe, >please see http://www.palmos.com/dev/tech/support/forums/ --- Icefield Tools Corporation tel: (867) 633-4264 PO Box 30085fax: (867) 633-4217 Whitehorse, Yukon CANADAe-mail: [EMAIL PROTECTED] Y1A 5M2internet: http://www.icefieldtools.com/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
Re: Please wait, the emulator is resetting.
A friend and I asked a Metrowerks person (sorry forget who) at a local event about this and they said it was basically just wasted time and hitting cancel would be fine. It's true the emulator (or device) is resetting during that time, but CW triggers that right away, the rest of the progress bars is just time-killer. I suspect it's there just to prevent you from hitting F5 and trying to run the app while the device resets. "Carl Dippel" <[EMAIL PROTECTED]> wrote in message news:59743@palm-dev-forum... > > Please wait, the emulator is resetting. Press Cancel to > terminate debugging immediately. > > I get this message whenever I kill a debug session from the CW7.1. It stays > on the screen for 5¾ sec unless I click cancel. Is canceling right away any > different than waiting? How can I decrease the waiting time? I don't see > this dialog box and I don't have to wait if I'm using the a real Palm. > What's going on? Thanks a million! -Carl -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
RE: Please wait, the emulator is resetting.
> From: Carl Dippel > > I get this message whenever I kill a debug session > from the CW7.1. I don't have the details about everything that is going on between the CW debugger and the emulator, but basically it is doing just what it says: resetting the emulator. > Please wait, the emulator is resetting. Press Cancel > to terminate debugging immediately. > ... > I don't see this dialog box and I don't have to wait > if I'm using the a real Palm. > If you think about this, I'm sure the answer will hit you. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/