开发者

How can an app hook into text selection system-wide?

开发者 https://www.devze.com 2023-01-12 13:50 出处:网络
I\'d like to be able to track text selections across any application -- is there a hook to enable this behavior on Win32?

I'd like to be able to track text selections across any application -- is there a hook to enable this behavior on Win32?

Bonus: Anyon开发者_如何学Goe gurus know the equivalent hooks for OS X & Linux?


SetWindowsHookEx will do the trick.

http://msdn.microsoft.com/en-us/library/ms644990(v=vs.85).aspx

0

精彩评论

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