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?
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?
Dev-C++ 4.9.9.2
Code::Blocks
Win XP
try sending a WM_KEYUP after it, or just sending it as a WM_CHAR.
-- Rocky
-- DreamSys Software (http://www.dreamsyssoft.com)
-- Free Tiff 2 PDF Library (http://www.dreamsyssoft.com/tiff-to-pdf-api)