Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Specifies Menu Editor property IDs.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Public Enumeration __VSMEPROPID
public enum __VSMEPROPID
public enum class __VSMEPROPID
type __VSMEPROPID
public enum __VSMEPROPID
Members
Member name | Description | |
---|---|---|
VSMEPROPID_FIRST | Indicates first VSMEPROPID_ | |
VSMEPROPID_NAME | Name | |
VSMEPROPID_CAPTION | Caption | |
VSMEPROPID_CHECKED | Checked item | |
VSMEPROPID_ENABLED | Enabled item | |
VSMEPROPID_VISIBLE | Visible item | |
VSMEPROPID_BOLD | Bold caption | |
VSMEPROPID_ACCEL | Accelerator (shortcut key) | |
VSMEPROPID_RADIOCHECK | Radio check box | |
VSMEPROPID_EXTRAPROPS | Shows that a menu can be expanded to show additional items. | |
VSMEPROPID_BREAK | Dividing space | |
VSMEPROPID_BARBREAK | Divider bar | |
VSMEPROPID_RIGHTJUSTIFY | Right justified text | |
VSMEPROPID_LAST | Indicates last VSMEPROPID_ |
Remarks
The VSMEPROPID enumeration is used with IVsMenuItem, IMenuEditorSite, and OnChange.
COM Signature
From vsshell.idl:
enum __VSMEPROPID
{
VSMEPROPID_FIRST = -1000,
VSMEPROPID_NAME = -1000, // VT_BSTR
VSMEPROPID_CAPTION = -1001, // VT_BSTR
VSMEPROPID_CHECKED = -1002, // VT_BOOL
VSMEPROPID_ENABLED = -1003, // VT_BOOL
VSMEPROPID_VISIBLE = -1004, // VT_BOOL
VSMEPROPID_BOLD = -1005, // VT_BOOL
VSMEPROPID_ACCEL = -1006, // VT_I4 - (DWORD)
VSMEPROPID_RADIOCHECK = -1007, // VT_BOOL
VSMEPROPID_EXTRAPROPS = -1008,
VSMEPROPID_BREAK = -1009,
VSMEPROPID_BARBREAK = -1010,
VSMEPROPID_RIGHTJUSTIFY = -1011,
VSMEPROPID_LAST = -1011
};
typedef LONG VSMEPROPID;