1. looks dead
- Posted by George Walters <gwalters at sc.rr.com> Dec 23, 2004
- 566 views
When I'm running a program to do stuff, I display stuff in the status bar to inform the user that the computer is not lock'ed up. The question is, when I do ctrl-alt-del to look at the task manager, then exit it, nothing is ever displayed again on the status bar. The program is still running and will eventually finish. But it sure appears to be frozen. I'm running win32 59.1 and 2.4 EU. Is there a solution to this?
2. Re: looks dead
- Posted by Matt Lewis <matthewwalkerlewis at yahoo.com> Dec 23, 2004
- 639 views
George Walters wrote: > > > When I'm running a program to do stuff, I display stuff in the status bar to > inform the user that the computer is not lock'ed up. The question is, when I > do ctrl-alt-del to look at the task manager, then exit it, nothing is ever > displayed again on the status bar. The program is still running and will > eventually finish. But it sure appears to be frozen. I'm running win32 59.1 > and 2.4 EU. Is there a solution to this? > Do you have the occaisonal call to do_events()? You might also try using a progress bar. Matt Lewis
3. Re: looks dead
- Posted by "Juergen Luethje" <j.lue at gmx.de> Dec 23, 2004
- 529 views
- Last edited Dec 24, 2004
Matt Lewis wrote: > George Walters wrote: >> >> >> When I'm running a program to do stuff, I display stuff in the status bar to >> inform the user that the computer is not lock'ed up. The question is, when I >> do ctrl-alt-del to look at the task manager, then exit it, nothing is ever >> displayed again on the status bar. The program is still running and will >> eventually finish. But it sure appears to be frozen. I'm running win32 59.1 >> and 2.4 EU. Is there a solution to this? >> > > Do you have the occaisonal call to do_events()? You might also try using > a progress bar. I only can say that with Eu 2.4 and ARWEN, occasionally calling doEvents(), and using a progress bar, this problem does not occur. Regards, Juergen -- We don't know where to GOTO if we don't know where we've COME FROM. http://www.fortran.com/fortran/come_from.html
4. Re: looks dead
- Posted by Derek Parnell <ddparnell at bigpond.com> Dec 23, 2004
- 565 views
- Last edited Dec 24, 2004
George Walters wrote: > > > When I'm running a program to do stuff, I display stuff in the status bar to > inform the user that the computer is not lock'ed up. The question is, when I > do ctrl-alt-del to look at the task manager, then exit it, nothing is ever > displayed again on the status bar. The program is still running and will > eventually finish. But it sure appears to be frozen. I'm running win32 59.1 > and 2.4 EU. Is there a solution to this? Is this a standard Win32lib 'Statusbar' control? After you return from the task manager, is the status bar cleared or is the old text still there, but just doesn't change? At which points in the program do you update the status bar? In other words what triggers your program to update the status bar? Is your program updating the status bar but the bar doesn't show it? -- Derek Parnell Melbourne, Australia
5. Re: looks dead
- Posted by George Walters <gwalters at sc.rr.com> Dec 23, 2004
- 542 views
- Last edited Dec 24, 2004
Derek, it's the standard 59.1 status bar. This program prints "printing page: xx" for each new page it starts. This particular program prints 650+ pages, but it's the same for any program that prints to the status bar. For this one it's particularly important since it runs for about 10 minutes printing to file, later to send the printout to a viewer. A couple have suggested I doevents() occasionally, I'll have to look that one up.
6. Re: looks dead
- Posted by George Walters <gwalters at sc.rr.com> Dec 23, 2004
- 533 views
- Last edited Dec 24, 2004
I forgot to answer you last question. The status bar shows the last page and then nothing changes until the program "systems" to the next step.