Does anyone have any sample code illustrating how to implement a progress
dialog box within an application with several standard forms?
I'm stumped - I set up my callback function and call PrgStartDialog. I also
hook in PrgHandleEvent instead of SysHandleEvent (as documented). The
progress dialog appears with stage 0 message. But, suddenly I find that my
nilEvents (which is where documentation tells me I'm to do the work) no
longer fall through to the FormHandler that called PrgStartHandler (hence
missing my calls to PrgUpdateDialog and PrgCloseDialog). The callback
function is, however, being called regularly at the EvtGetEvent timout rate
(presumably by PrgHandleEvent). Pressing "Cancel" on the progress box
simply blanks out the button.
As I said, if someone has a working code setup, all will be revealed - the
documentation lacks some detail. For instance, can I leave PrgHandleEvent
sitting there in my event loop even when there is no active progress dialog?
I am using the gcc tool chain.
Erik Blake
-------------------------------------------------------------------
Icefield Tools Corporation tel: (867) 633-4264
3C Glacier Road fax: (867) 633-4217
Whitehorse, Yukon CANADA e-mail: [EMAIL PROTECTED]
Y1A 5S7 internet: 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/