Hook a check box to catch a fired event
:-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.
精彩评论