__VSMEPROPID Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies Menu Editor property IDs.
public enum class __VSMEPROPID
public enum class __VSMEPROPID
enum __VSMEPROPID
public enum __VSMEPROPID
type __VSMEPROPID =
Public Enum __VSMEPROPID
- Inheritance
-
__VSMEPROPID
Fields
Name | Value | Description |
---|---|---|
VSMEPROPID_LAST | -1011 | Indicates last VSMEPROPID_ |
VSMEPROPID_RIGHTJUSTIFY | -1011 | Right justified text |
VSMEPROPID_BARBREAK | -1010 | Divider bar |
VSMEPROPID_BREAK | -1009 | Dividing space |
VSMEPROPID_EXTRAPROPS | -1008 | Shows that a menu can be expanded to show additional items. |
VSMEPROPID_RADIOCHECK | -1007 | Radio check box |
VSMEPROPID_ACCEL | -1006 | Accelerator (shortcut key) |
VSMEPROPID_BOLD | -1005 | Bold caption |
VSMEPROPID_VISIBLE | -1004 | Visible item |
VSMEPROPID_ENABLED | -1003 | Enabled item |
VSMEPROPID_CHECKED | -1002 | Checked item |
VSMEPROPID_CAPTION | -1001 | Caption |
VSMEPROPID_FIRST | -1000 | Indicates first VSMEPROPID_ |
VSMEPROPID_NAME | -1000 | Name |
Remarks
The VSMEPROPID enumeration is used with IVsMenuItem, <xref:Microsoft.VisualStudio.Shell.Interop.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;