Group: comp.os.mswindows.programmer.win32 · Group Profile · Search for Help me with SendMessage to send ALT Key in comp.os.mswindows.programmer.win32
Author: Nhoc
Date: May 11, 2008 16:11
...windowHandle = FindWindow(0, strWindowName.c_str()); if (windowHandle) { SendMessage(windowHandle, WM_SYSKEYDOWN,0x12,0x20380001); SendMessage... SendMessage(windowHandle, WM_KEYUP,0x12,0xc0380001); SendMessage(windowHandle, WM_KEYUP,0x33,0xc0040001); } But nothing happen If i hold ALT when that code run, i'll ... cant force event ALT hold key down. Can someone help me. PS: I...
|