且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何设置按钮点击钩

更新时间:2022-12-10 09:58:40

如果按钮的格式属于您的进程,则根本不需要键盘钩.只需处理该按钮上的键盘事件即可.
If the button is in a form owned by your process, then you don''t need a keyboard hook at all. Just handle the keyboard events on that button.


您是否要单击按钮后设置键盘钩子?还是您想要上面的答案?
Do you mean you want to set a keyboard hook when the button has been clicked? Or did you want the answer above?