Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Specifies options for display of context menus.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Public Enumeration __VSSHOWCONTEXTMENUOPTS
public enum __VSSHOWCONTEXTMENUOPTS
public enum class __VSSHOWCONTEXTMENUOPTS
type __VSSHOWCONTEXTMENUOPTS
public enum __VSSHOWCONTEXTMENUOPTS
Members
| Member name | Description | |
|---|---|---|
| VSCTXMENU_SELECTFIRSTITEM | Automatically select the first item. | |
| VSCTXMENU_SHOWUNDERLINES | Show keyboard mnemonic underlines. | |
| VSCTXMENU_SUPPORTSTYPEAHEAD | Supports typeahead, and should also be a sorted dynamic item list. |
Remarks
These are additional options for the dwCompRole parameter for ShowContextMenu.
Combine these flags with the OLEROLE enumeration.
If the role is OLEROLE_UNKNOWN (-1), then these flags cannot be used and they are ignored.
COM Signature
From vsshell80.idl:
enum __VSSHOWCONTEXTMENUOPTS
{
VSCTXMENU_SELECTFIRSTITEM = 0x00010000,
VSCTXMENU_SHOWUNDERLINES = 0x00020000,
VSCTXMENU_SUPPORTSTYPEAHEAD = 0x00040000
};
typedef DWORD VSSHOWCONTEXTMENUOPTS;