开发者

Is it possible to listen for em_replacesel message to control in another application in C#

This might be a long shot, even not possi开发者_开发问答ble.

I was wondering if it is possible to listen for the em_replacesel message to a rich text control in another programs window and then call one of the Win32API's to get the text from the window, or even just get the text that was sent via em_replacesel.

Is this possible, and possible in C#?


SetWindowsHookEx will let you inject a DLL into the target process, and hook messages in that process.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜