Needed Timer functionality
Posted: Mon May 02, 2005 09:03
Hello All,
I need to implement timer functionality for following scenario
I am working on a HTML Viewer widget. For implementing this widget, It is required to take images as inputs from Container application. I can send a request to the container application for sending an image-using Message.
The issue is, to specify the time limit for receiving the response form the container, i.e. for how much time widget should wait before displaying an error.
I want to implement this feature-using feature similar to standard windows timers[WM_TIMER event]. i.e.
Widget should be able to set a timer after sending a Request for image to container.
After specified amount of time, a timer event should be received by widget, at this moment widget should check whether container has given the image or not, and take the necessary action.
Any other design approach is also welcome.
Thanks and regards,
Ritz
I need to implement timer functionality for following scenario
I am working on a HTML Viewer widget. For implementing this widget, It is required to take images as inputs from Container application. I can send a request to the container application for sending an image-using Message.
The issue is, to specify the time limit for receiving the response form the container, i.e. for how much time widget should wait before displaying an error.
I want to implement this feature-using feature similar to standard windows timers[WM_TIMER event]. i.e.
Widget should be able to set a timer after sending a Request for image to container.
After specified amount of time, a timer event should be received by widget, at this moment widget should check whether container has given the image or not, and take the necessary action.
Any other design approach is also welcome.
Thanks and regards,
Ritz