04-10-2008 04:06 PM
04-11-2008 04:55 AM
Hi Oliveira,
The function ProcessDrawEvents is one which I would use within a callback function
to update the screen controls.
The reason is, the callback takes so long to execute that the screen controls would not
normally be updated until the callback finishes.
Creating a callback of 10 seconds or more, and using ProcessDrawEvents to achieve simultaneous
update is, I think not going to be practical.
Because your screen controls are updating automatically without problems, why not fetch the new data
at 10 second intervals.
For example, use a 10 second Timer control to initiate a callback which fetches the new data from a
suitably defined struct within the code and then updates the screen controls.
Your original code which fetches the new data could be used to update the struct.
regards,
Gary.
04-11-2008 08:10 AM
04-23-2008 12:56 PM
It seems that the problem was resolved here.