开发者

Hook a check box to catch a fired event

开发者 https://www.devze.com 2023-04-01 11:18 出处:网络
:-D Long story short, I would like to catch an event fired once the user sets checked to a dialog\'s check button of some windows (not my windows application). I understand littl开发者_开发技巧e about

:-D Long story short, I would like to catch an event fired once the user sets checked to a dialog's check button of some windows (not my windows application). I understand littl开发者_开发技巧e about hooking, but in this case as I would like to monitor an event (button-clicked), I don't know what message I should hook ? If you have any idea, please tell me, I appreciate any of your precious advice. Thank you.


System-wide hooks are what you are looking for. Don't expect a one-liner solution though!


A solution on the road less traveled is to inject a DLL, then subclass the window.

0

精彩评论

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