Hiya!

I have a SDI project which creates a thread, in that thread I show a dialog using DoModal(), it works fine but when I exit the dialog my program don't have the focus anymore. Why is that and how do I correct it?

Thanks
Magnus