i have written a dialog based application
if i open another program (eg. WORD) over my program while it is running,and then close WORD again, my program doesnt re-paint.

Q. How can i get my program to refresh when the focus isnt on it but it is in view?

thanks in advance
J