From: A <ex...@se...> - 2001-02-22 20:04:31
|
Hi, I have an application that uses Win32::GUI. This program creates a window and writes, as it is running , some information to this window. This application runs for a quite long time(about 20 minutes or longer).So far so good. A problem begins when a user switches from this program to another program and after some time returns back to my program.The window created by my program is not refreshed immediately to the state before switching but I must wait until my program writes to that window. And because the window is not refreshed quickly it seems that the program does not run any longer. What is the best way how to refresh the window and show users that the program is still running? Thank you for any good idea. Ladislav |
From: A <ex...@se...> - 2001-03-31 16:15:55
|
Hi, I have an application that uses Win32::GUI. This program creates a window and writes, as it is running , some information to this window. This application runs for a quite long time(about 20 minutes or longer).So far so good. A problem begins when a user switches from this program to another program and after some time returns back to my program.The window created by my program is not refreshed immediately to the state before switching but I must wait until my program writes to that window. And because the window is not refreshed quickly it seems that the program does not run any longer. What is the best way how to refresh the window and show users that the program is still running? Thank you for any good idea. Ladislav ------- End of forwarded message ------- |
From: BMA T. ltd. <di...@se...> - 2001-03-31 16:14:50
|
Hi, I have an application that uses Win32::GUI. This program creates a window and writes, as it is running , some information to this window. This application runs for a quite long time(about 20 minutes or longer).So far so good. A problem begins when a user switches from this program to another program and after some time returns back to my program.The window created by my program is not refreshed immediately to the state before switching but I must wait until my program writes to that window. And because the window is not refreshed quickly it seems that the program does not run any longer. What is the best way how to refresh the window and show users that the program is still running? Thank you for any good idea. Ladislav ------- End of forwarded message ------- |
From: A <ex...@se...> - 2001-04-04 11:04:46
|
Hi, I have an application that uses Win32::GUI. This program creates a window and writes, as it is running , some information to this window. This application runs for a quite long time(about 20 minutes or longer).So far so good. A problem begins when a user switches from this program to another program and after some time returns back to my program.The window created by my program is not refreshed immediately to the state before switching but I must wait until my program writes to that window. And because the window is not refreshed quickly it seems that the program does not run any longer. What is the best way how to refresh the window and show users that the program is still running? Thank you for any good idea. Ladislav |
From: Johan L. <jp...@bo...> - 2001-04-04 13:21:45
|
Ladislav wrote: >time returns back to my program.The window created by my >program is >not refreshed immediately to the state before switching but I must >wait until my program writes to that window. Not sure because I haven't done it, but this is what I would try: Find or create an event that you can put some code in. The Window class has the Activate() event. Maybe some other control has something similar that you can use. Otherwise maybe the Timer control can help you, but that might ivolve performance issues. Time things and find out. Hope that helps, and please share your solution with the list if you come up with one. /J -- Johan Lindström, Sourcerer, Boss Casinos Ltd, Antigua jp...@bo... |