Maxim,
I don't believe you can override the function, however, you should be
able to set up a windows hook that will allow you to monitor all the
messages that are processed by the machine, and then selectively process the
ones that are targeted for the process in question.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Maxim Kazitov" <mv*****@tut.by> wrote in message
news:ew**************@tk2msftngp13.phx.gbl...
Hi,
Is it possible to override MainWndProc using c# (for window in other
process).
Thanks,
Max