[問題] 請問有沒有偵測放開鍵盤的函式

看板C_and_CPP作者 (56小弟)時間12年前 (2012/05/10 15:05), 編輯推噓0(001)
留言1則, 1人參與, 最新討論串1/1
開發平台(Platform): (Ex: dev c) 額外使用到的函數庫(Library Used): (Ex: , ...) 問題(Question): 我只知道kbhit()能偵測按下鍵盤 請問有沒有什麼函式是可以偵測鍵盤被放開的? 像是 滑鼠getmouseclick( int kind, int& x, int& y ); 有個狀況是WM_LBUTTONUP ...detect when the left mouse button is released up 謝謝~ 餵入的資料(Input): 預期的正確結果(Expected Output): 錯誤結果(Wrong Output): 程式碼(Code):(請善用置底文網頁, 記得排版) 補充說明(Supplement): -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 123.195.193.38 ※ 編輯: kkmoon5566 來自: 123.195.193.38 (05/10 15:05)

05/10 16:09, , 1F
Global Keyboard Hook WH_KEYBOARD_LL
05/10 16:09, 1F
文章代碼(AID): #1FgsYVpH (C_and_CPP)