sendmessage - How to use WM_UNICHAR at example (C#) -


i can't find how can use wm_unichar send letters. (wm_char work good, can't send "я")

ok, thi's work code use wm_char, how use wm_unichar don't know..

thi's didn't work:

sendmessage(handle, keyboardmessages.wm_unichar, val, new intptr(0)); 

it has been... on decade, think answer use:

sendmessagew 

(for wide) believe can change dllimport to:

[dllimport("user32.dll", entrypoint = "sendmessagew"] static extern intptr sendmessage(intptr hwnd, keyboardmessages ev, intptr wparam, intptr lparam); 

Comments