→ james732:按鍵精靈 XDDD 09/11 16:40
→ hhashoww:樓上說的是 keypress(13) 這個嗎XD? 09/11 17:07
→ PaulChris:不能使用按鍵精靈啊大哥…= =,希望是以程式去下指令… 09/11 18:27
→ PaulChris:感謝樓上,因為之前都是往批次檔的方向去找,所以... 09/11 18:39
→ herman602:可是那連結的是C++/CLI耶 原PO的平台是Dev C++ ... 09/11 19:28
推 flydragon198:之前也是想要用C++去控制鍵盤,結果很複雜的樣子@@ 09/11 20:50
→ PaulChris:剛剛有稍微看一下,感覺不同 囧 09/11 20:56
→ tinlans:用程式去控制按鍵精靈。 09/11 21:33
→ loveme00835: t 大這招比較難喔! XDD 09/11 21:34
→ suhorng:用程式控制按鍵去控制按鍵精靈來按按鍵(誤) 09/11 21:41
推 ljhgc:keybd_event(0xd,0, 0, 0); 09/12 01:56
→ ljhgc:keybd_event(VK_CONTROL, 0, 0, 0); 09/12 01:59
→ ljhgc:keybd_event(VK_SHIFT,0, dwFlags, 0); 09/12 01:59
→ ljhgc:keybd_event(VK_SHIFT,0, 0, 0); 09/12 01:59
→ ljhgc:keybd_event(VK_MENU,0, 0, 0); 這是ALT 09/12 02:00
→ ljhgc:0xd是ENTER,以上是"按下",用完記得放開...像這樣 09/12 02:02
→ ljhgc:keybd_event(VK_SHIFT,0, KEYEVENTF_KEYUP, 0); 09/12 02:03
推 winest:hook 09/12 11:27
推 ab4daa:windows api SendInput 09/12 12:33
※ 編輯: PaulChris 來自: 218.167.76.122 (09/15 01:18)
→ PaulChris:謝謝各位,問題解決了^^ 09/15 01:19