简体   繁体   English

C#Visual Studio打开上下文菜单的另一种方式?

[英]C# Visual Studio Open context menus the other way?

Normal context menus in Visual Studio always appear right to the mouse after you open them. 打开Visual Studio中的普通上下文菜单后,它们始终始终显示在鼠标的右侧。 Is it possible to make the context menu to appear left to the mouse after it opens? 打开后,是否可以使上下文菜单在鼠标左方出现? So it actually opens from right to left, instead from left to right. 因此它实际上是从右向左打开,而不是从左向右打开。

Hope you know what I mean. 希望你明白我的意思。 (And no, the text in it is NOT meant, just the way the context menu opens) I wasn't able to find anything on that. (并且不,其中的文字并不意味着上下文菜单打开的方式)我无法在其中找到任何内容。 It's just for aesthetics btw. 顺便说一句,这只是为了美学。

This is a new ergonomic feature in the Windows. 这是Windows中的一项新的人体工程学功能。 The Windows check if you are using a touch screen than the Menus will open at the left side the reason is the human hand cover the right side of the clicked/pressed area (mouse pointer does not do that). Windows检查您是否正在使用触摸屏,然后菜单会在左侧打开,原因是人的手遮住了被单击/按下的区域的右侧(鼠标指针不执行此操作)。

--------------------------------------------------Update ------------------------------------------------------------- --------------------------------------------------更新------------------------------------------------- ------------

I found the soultion for your prblem :-) you have to select from Tablet PC Settings the Left Handed , this will solve your problem. 我发现了您的问题的灵魂:-)您必须从Tablet PC设置中选择 左手” ,这将解决您的问题。

  1. Press the Windows logo key+R to bring up the Run dialog box. 按Windows徽标键+ R弹出“运行”对话框。 In the Open line, copy/paste the following text. 在“打开”行中,复制/粘贴以下文本。

  2. shell:::{80F3F1D5-FECA-45F3-BC32-752C152E456E} 外壳::: {80F3F1D5-FECA-45F3-BC32-752C152E456E}

  3. Press OK. 按确定。

This will start the Tablet PC Settings configuration dialog (Even if you do not have a Tablet PC). 这将启动“ Tablet PC设置”配置对话框(即使您没有Tablet PC)。

  1. Select the Other Tab. 选择其他选项卡。

  2. In the Handedness section, place a check mark in the Left Handed option. 在“惯用性”部分的“惯用左手”选项中放置一个复选标记。

  3. Click OK. 单击确定。

Look to this information from microsoft: http://answers.microsoft.com/en-us/windows/forum/windows_7-desktop/windows-7-application-menus-drop-to-left-instead/2d362701-90e4-4ea6-a3a1-c1391a3d2bea 从Microsoft查找以下信息: http : //answers.microsoft.com/zh-cn/windows/forum/windows_7-desktop/windows-7-application-menus-drop-to-left-instead/2d362701-90e4-4ea6 -a3a1-c1391a3d2bea

Do not forget to mark the answer. 不要忘记标记答案。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM