Hi;

(I am trying to figure out the best way to intercept Word's message pump in
a .net app.) It looks like an IMessageFilter object can only be attached to
the message pum of a .net Application so it could not be used with Word. Is
this correct?

--
thanks - dave

RE: Is IMessageFilter only for .net windows? by v-jetan

v-jetan
Wed Dec 07 03:07:07 CST 2005

Hi dave,

Thanks for your post.

Yes, I think you are right. Word application runs in another process.
IMessageFilter can not be used to intercept another process' messages. To
do this, we must resort to Win32 hook technology.

Thanks

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.