I can’t think of any effective solution that does not involve injecting code into another process (this is basically what many types of hooks do by the way). But if you want to go this route, you can intercept calls in the MessageBox.
, MessageBox , , (, ). , , , .
. http://www.codeproject.com/KB/threads/completeinject.aspx , , DLL .