[VB]在VSIX扩展中捕获箭头键按下 [英] [VB]Capturing Arrow Key Presses In A VSIX Extension

查看:84
本文介绍了[VB]在VSIX扩展中捕获箭头键按下的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望在用户使用文本编辑器时检测何时按下箭头键。我已经设法弄清楚如何使用BeforeKeyPress& AfterKeyPress事件的  TextDocumentKeyPressEvents,但这些箭头键不会触发
。是否有任何事件可用于检测何时按下箭头键?谢谢。



Nathan Sokalski njsokalski@hotmail.com http://www.nathansokalski.com/

I am looking to detect when an arrow key is pressed while the user is using the text editor. I have managed to figure out how to use the BeforeKeyPress & AfterKeyPress events of TextDocumentKeyPressEvents, but these are not triggered for the arrow keys. Is there any event that I can use to detect when the arrow keys are pressed? Thanks.


Nathan Sokalski njsokalski@hotmail.com http://www.nathansokalski.com/

推荐答案

Hello Nathan,

Hello Nathan,

当您尝试构建VSIX软件包时,我会将您的案例移至正确的论坛。

As you are trying to build a VSIX package, I will move your case to the right forum.

致以最诚挚的问候,

Barry


这篇关于[VB]在VSIX扩展中捕获箭头键按下的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆