Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

狀況

試想下面情景︰ 在此案例中, GetKeyState函數會傳回索引鍵或滑鼠按鈕狀態不是關閉的狀態。不過,索引鍵或滑鼠按鈕應該保持按下的狀態直到相對應的索引鍵或滑鼠按鈕釋放訊息 (如 WM_KEYUP、 WMSYSKEYUP、 WM_LBUTTONUP) 處理。

注意事項

原因

之所以發生這個問題,是因為 Windows 會建立新的輸入的佇列,而不複製KeyState屬性,在 < 徵狀=""> 一節所述的案例。因此,新的輸入佇列中的 [

Need more help?

Want more options?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

Was this information helpful?

How satisfied are you with the translation quality?
What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×