thangnguyen
Programmer
Hi,
I use hook to receive message sent to application A.when user holds Ctrl down and left-clicks on application A, I can receive this action with hook, but I don't know how to modify the message so that only left-click action was notified to app A.
I have tried to modify the wParam = MK_LBUTTON only, but it seems that when this message come to A, user is still holding Ctrl key, so A can aware of this full action with holding Ctrl key.
And the way I think is to disable Ctrl key before send message to A, and enable it later.
Do you have any suggestion ???
thank you so much,
Thang.
I use hook to receive message sent to application A.when user holds Ctrl down and left-clicks on application A, I can receive this action with hook, but I don't know how to modify the message so that only left-click action was notified to app A.
I have tried to modify the wParam = MK_LBUTTON only, but it seems that when this message come to A, user is still holding Ctrl key, so A can aware of this full action with holding Ctrl key.
And the way I think is to disable Ctrl key before send message to A, and enable it later.
Do you have any suggestion ???
thank you so much,
Thang.