__VSMEPROPID Enum

Definition

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

VSMEPROPID_ACCEL -1006

Accelerator (shortcut key)

VSMEPROPID_BARBREAK -1010

Divider bar

VSMEPROPID_BOLD -1005

Bold caption

VSMEPROPID_BREAK -1009

Dividing space

VSMEPROPID_CAPTION -1001

Caption

VSMEPROPID_CHECKED -1002

Checked item

VSMEPROPID_ENABLED -1003

Enabled item

VSMEPROPID_EXTRAPROPS -1008

Shows that a menu can be expanded to show additional items.

VSMEPROPID_FIRST -1000

Indicates first VSMEPROPID_

VSMEPROPID_LAST -1011

Indicates last VSMEPROPID_

VSMEPROPID_NAME -1000

Name

VSMEPROPID_RADIOCHECK -1007

Radio check box

VSMEPROPID_RIGHTJUSTIFY -1011

Right justified text

VSMEPROPID_VISIBLE -1004

Visible item

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;  

Applies to