Mine does something like that... Only it comes with a big fat automation error as well. Sigh.

I've tried adding code so it only runs the RenderAll subroutine when it's got the focus, but that doesn't help. You might want to give it a shot though, because before it threw the error as soon as I alt-tabbed, but now it only does it when it goes back in.

Does it appear as it normally does when you alt-tab the second time? Or just as a big grey form?

Oh, and can't you click things on the taskbar to get away from it anyway?

Edit: Which DirectX are you using? 8?