whats yer language of choice?
Its fairly easy to do in any language that has access to the windows API. I have a handful of examples of vb code I've written that intercepts windows create messages before they actually execute and then decides whether or not to allow the window.
make me an offer...
gornyhuy at codegreen dot org