How can i send a key to a hwnd?
I want return (enter) to be sent to a hwnd
SendMessage(edit, WM_KEYDOWN, 0, (LPARAM)VK_RETURN);
didnt work.What should i use?
Printable View
How can i send a key to a hwnd?
I want return (enter) to be sent to a hwnd
SendMessage(edit, WM_KEYDOWN, 0, (LPARAM)VK_RETURN);
didnt work.What should i use?
try sending a WM_KEYUP after it, or just sending it as a WM_CHAR.