Can I force a window to regain the focus?

I have written (in C) a program which can load a large amount of data and so I am trying to produce a tick over. Ive created a modeless dialog box and all works fine until the window looses focus. Using SetWindow I can force the focus but this is permanently lost when (say) clicking on another window. The tickover remains frozen until the loading finishes.
I suppose what I want to do is force the focus every time I change the data displayed (after a number of reiterations).
Any suggestions appreciated.


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


In this Discussion