none
View Menu Command Table: Short Cut Key Conflict.

    Question

  • Hi,
    I am trying to add a command under View Menu of Visual Studio IDE.
    I want to set a Shortcut Key for my command sothat it can be accessed
    using ALT + V + <shortcut key>.My problem is that I am unable to find a
    character Key that don't conflict with VS shortcut keys.For example 'D' clashes with short cut key of 'Code define Window' command under view menu.
    Can we have two commands with same shortcut keys under view menu ?
    If yes how do they work.

    Any Help will be appreciated. Thanks in advance.
    Monday, December 12, 2005 5:00 AM

Answers

  • If the keys are not in the same scope, then it will work fine. For example, if a keystroke has a special meaning in the resource editor window, and a different meaning in the text editor window, then they can peacefully coexist. But if you are trying to have the same keystroke for different operations in the same scope, then the behavior is undefined.

    Craig
    Monday, December 12, 2005 9:00 PM