winapi - Low Level keyboard hook c++ -


i tried create application in c++ sets low level keyboard hook , each time user presses key write char of string made.

can explain how can change user input without using keybd_event function changing key before os interprets it.

i tried ths msg , changing wparam didn't work. if can show me code example better

can explain how can change user input without using keybd_event function changing key before os interprets it.

you cannot. have reject key inyour hook , post own key using keybd_event() or sendinput(). , sure check if kbdllhookstruct::flags field has llkhf_injected or llkhf_lower_il_injected flag enabled don't reject own simulated keys.

i tried ths msg , changing wparam didn't work

the msg structure not used wh_keyboard_ll hook.


Comments

Popular posts from this blog

java - HTTP Status 500 - An exception occurred processing JSP page /second.jsp at line 15 -

php - Using str_replace to translate a MySQL Table in html -

asp.net mvc - Cannot display error message on Editor or EditorFor -