Home All Groups Group Topic Archive Search About

Viewing another applications WndProc (like spy++)

Author
10 Jun 2006 1:03 PM
JahMic
I would like to monitor other applications WM_ACTIVATE messages.  In
win32, this involves a bit of tricky coding involving hooks.  But how
to do this from a .NET application?

Also, please note, I want to monitor all applications not just .NET
applications.

Thanks, J

Author
10 Jun 2006 11:47 PM
Carl Daniel [VC++ MVP]
JahMic wrote:
> I would like to monitor other applications WM_ACTIVATE messages.  In
> win32, this involves a bit of tricky coding involving hooks.  But how
> to do this from a .NET application?

By using tricky coding involving hooks.  AFIAK there's no secret sauce in
..NET that makes it easier (if anything, I suspect it's harder).

-cd

AddThis Social Bookmark Button