How do you prevent a window coming up (ie. a popup in an external application). I'd use WM_CLOSE but this doesn't prevent a window from popping up but closes one when it does. I need a function that prevents the window even being loaded in the first place. ANY IDEAS?