1. looks dead

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?

new topic     » topic index » view message » categorize

2. Re: looks dead

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

new topic     » goto parent     » topic index » view message » categorize

3. Re: looks dead

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

new topic     » goto parent     » topic index » view message » categorize

4. Re: looks dead

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

new topic     » goto parent     » topic index » view message » categorize

5. Re: looks dead

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.

new topic     » goto parent     » topic index » view message » categorize

6. Re: looks dead

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.

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu