Partager via


MEINIT Struct

Definition

Contains values for the Menu editor initialization. Used with CreateMenuEditor(MEINIT[], IVsMenuEditor) calls.

public value class MEINIT
struct MEINIT
[System.Runtime.InteropServices.ComConversionLoss]
public struct MEINIT
[<System.Runtime.InteropServices.ComConversionLoss>]
type MEINIT = struct
Public Structure MEINIT
Inheritance
MEINIT
Attributes

Fields

cchNameLimit

DWORD containing the maximum number of characters in the name.

cchTextLimit

DWORD Specifying the maximum numbers of characters in menu item captions.

dwFlags

DWORD specifying flags for support/no support of certain properties. Values are taken from the __VSMEINIT enumeration.

dwSizeOfStruct

DWORD specifying the size of the struct.

hwnd

Specifies the destination window for menu.

hwndParent

Specifies the parent of destination window.

pMenuEditorSite

Specifies the menu editor site.

psp

Specifies the IServiceProvider.

pszAccelList

Fixed list of acceptable accelerators.

pUndoMgr

Specifies the IOleUndoManager.

SiteId

Unique Id for identifying extra data in clipboard operations.

Applies to