__VSMEPROPID Enumeration
Visual Studio 2015
Specifies Menu Editor property IDs.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
| Member name | Description | |
|---|---|---|
| VSMEPROPID_ACCEL | Accelerator (shortcut key) | |
| VSMEPROPID_BARBREAK | Divider bar | |
| VSMEPROPID_BOLD | Bold caption | |
| VSMEPROPID_BREAK | Dividing space | |
| VSMEPROPID_CAPTION | Caption | |
| VSMEPROPID_CHECKED | Checked item | |
| VSMEPROPID_ENABLED | Enabled item | |
| VSMEPROPID_EXTRAPROPS | Shows that a menu can be expanded to show additional items. | |
| VSMEPROPID_FIRST | Indicates first VSMEPROPID_ | |
| VSMEPROPID_LAST | Indicates last VSMEPROPID_ | |
| VSMEPROPID_NAME | Name | |
| VSMEPROPID_RADIOCHECK | Radio check box | |
| VSMEPROPID_RIGHTJUSTIFY | Right justified text | |
| VSMEPROPID_VISIBLE | Visible item |
The VSMEPROPID enumeration is used with IVsMenuItem, T:Microsoft.VisualStudio.Shell.Interop.IMenuEditorSite, and OnChange.
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;
Show: