tags:

views:

133

answers:

1

If I call SetDlgItemText() to update the value of a dialog text it seems to only be updated when the function returns. I'm using it to update a status message informing the user of the current progress mid function so I would like it to be updated immediately.

If this can not be done, is there something else I can do that would perform the same results?

Any help would be appreciated.

Thanks.

+1  A: 

I think Processing function is not allowing to call the OnPaint message of the window to which you are setting the message. You can move the processing function to a thread so that main thread handles the UI messages.

Vinay
Thanks for the suggestion, I have never really done anything with threads yet, but this sounds like a good time to start learning :)
Rob