Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试图在使用 IME 时捕获箭头键,但是 WM_IME_KEYDOWN 似乎没有捕获箭头。我尝试使用 WM_IME_COMPOSITION,这在按下箭头时确实会发生,但我看不到按下了哪个箭头。
protected override void WndProc(ref Message m){ if (m.Msg == WM_IME_KEYDOWN) { DoStuff(); } }
知识?
您可以改用低级键盘挂钩。
看看这里。