寻找挂钩 [英] Looking for Hooking

查看:52
本文介绍了寻找挂钩的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



是否可以使用c#挂钩另一个应用程序的WM_MOVE消息?

似乎有一些关于你可以挂钩的消息和

是否可以使用.net收听其他应用程序的消息。

我只是在寻找一个直接的答案吗?


谢谢,

James Randle

解决方案

pigeonrandle< pi *** *******@hotmail.com写的:




是否可以挂钩另一个应用程序的WM_MOVE消息使用c#?

似乎有一些争论,你可以挂钩和

是否可以使用.net收听其他应用程序的消息。 br />
我只是在寻找一个直接的答案吗?



总有一些非托管代码可供使用; - )


-

Thomas T. Veldhouse

Key Fingerpr int:2DB9 813F F510 82C2 E1AE 34D0 D69D 1EDC D5EC AED1


Thomas,

我真不介意它是怎么回事只要它奏效,它就完成了。我从来没有尝试过

挂钩beofre并想'第一次''''''''如果你知道我的意思是什么?


詹姆斯。


Thomas T. Veldhouse写道:


pigeonrandle< ; pi ********** @ hotmail.comwrote:




是否可以挂钩另一个应用程序使用c#的WM_MOVE消息?

似乎有一些争论你可以挂钩的消息和

你是否可以收听其他应用程序的消息使用.net。

我只是在寻找一个直接的答案吗?



总是可以使用非托管代码;-)


-

Thomas T. Veldhouse

主要指纹:2DB9 813F F510 82C2 E1AE 34D0 D69D 1EDC D5EC AED1


以下是我的一些资源收集了这个主题:

http://www.codeguru.com/Cpp/WP/syst...php/c5667#more
http://www.codeproject.com/csharp/NetWin32Hooks.asp
http://www.codeproject.com/csharp/globalsystemhook.asp


-

HTH,


Kevin Spencer

Microsoft MVP

专业鸡肉沙拉炼金术士


你寻求的是什么你得到了。

" pigeonrandle" < pi ********** @ hotmail.comwrote in message

news:11 ******************** **@m73g2000cwd.googlegr oups.com ...




是否可以挂钩另一个应用程序的WM_MOVE消息使用c#?

似乎有一些争论,你可以挂钩和

是否可以使用.net收听其他应用程序的消息。 br />
我真的只想找个答案吗?


谢谢,

James Randle


Hi,
Is it possible to hook another application''s WM_MOVE messages using c#?
There seems to be some argument as to what messages you can hook and
whether you can listen in on other app''s messages using .net.
I''m just looking for a straight answer really?

Thanks,
James Randle

解决方案

pigeonrandle <pi**********@hotmail.comwrote:

Hi,
Is it possible to hook another application''s WM_MOVE messages using c#?
There seems to be some argument as to what messages you can hook and
whether you can listen in on other app''s messages using .net.
I''m just looking for a straight answer really?

There is always unmanaged code that could be used ;-)

--
Thomas T. Veldhouse
Key Fingerprint: 2DB9 813F F510 82C2 E1AE 34D0 D69D 1EDC D5EC AED1


Thomas ,
I don''t really mind how it''s done as long as it works. I''ve never tried
hooking beofre and would like to ''get it right'' ''the first time'' if you
know what i mean?!

James.

Thomas T. Veldhouse wrote:

pigeonrandle <pi**********@hotmail.comwrote:

Hi,
Is it possible to hook another application''s WM_MOVE messages using c#?
There seems to be some argument as to what messages you can hook and
whether you can listen in on other app''s messages using .net.
I''m just looking for a straight answer really?


There is always unmanaged code that could be used ;-)

--
Thomas T. Veldhouse
Key Fingerprint: 2DB9 813F F510 82C2 E1AE 34D0 D69D 1EDC D5EC AED1


Here are some resources I''ve collected on this subject:

http://www.codeguru.com/Cpp/W-P/syst...php/c5667#more
http://www.codeproject.com/csharp/NetWin32Hooks.asp
http://www.codeproject.com/csharp/globalsystemhook.asp

--
HTH,

Kevin Spencer
Microsoft MVP
Professional Chicken Salad Alchemist

What You Seek Is What You Get.
"pigeonrandle" <pi**********@hotmail.comwrote in message
news:11**********************@m73g2000cwd.googlegr oups.com...

Hi,
Is it possible to hook another application''s WM_MOVE messages using c#?
There seems to be some argument as to what messages you can hook and
whether you can listen in on other app''s messages using .net.
I''m just looking for a straight answer really?

Thanks,
James Randle



这篇关于寻找挂钩的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆