Expand Minimize

__VSMEPROPID Enumeration

Specifies Menu Editor property IDs.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

public enum __VSMEPROPID

Member nameDescription
VSMEPROPID_ACCELAccelerator (shortcut key)
VSMEPROPID_BARBREAKDivider bar
VSMEPROPID_BOLDBold caption
VSMEPROPID_BREAKDividing space
VSMEPROPID_CAPTIONCaption
VSMEPROPID_CHECKEDChecked item
VSMEPROPID_ENABLEDEnabled item
VSMEPROPID_EXTRAPROPSShows that a menu can be expanded to show additional items.
VSMEPROPID_FIRSTIndicates first VSMEPROPID_
VSMEPROPID_LASTIndicates last VSMEPROPID_
VSMEPROPID_NAMEName
VSMEPROPID_RADIOCHECKRadio check box
VSMEPROPID_RIGHTJUSTIFYRight justified text
VSMEPROPID_VISIBLEVisible item

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;
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft