MENUINFO (Structures)
Last changed: -82.77.126.3

.
Summary
TODO - a short description

C# Definition:

    [StructLayout(LayoutKind.Sequential)]
    public struct MENUINFO
    {
    public UInt32 cbSize;
    public UInt32 fMask;
    public UInt32 dwStyle;
    public uint cyMax;
    public IntPtr hbrBack;
    public UInt32 dwContextHelpID;
    public UIntPtr dwMenuData;
    }

VB Definition:

    Private Structure MENUINFO
    Dim cbSize As Int32
    Dim fMask As Int32
    Dim dwStyle As Int32
    Dim cyMax As Int32
    Dim hbrBack As IntPtr
    Dim dwContextHelpID As Int32
    Dim dwMenuData As Int32
    Public Sub New(ByVal owner As Control)
        cbSize = Marshal.SizeOf(GetType(MENUINFO))
    End Sub
    End Structure

User-Defined Field Types:

None.

Notes:

None.

Sample Code:

MENUINFO mi = new MENUINFO();

mi.cbSize = System.Runtime.InteropServices­.Marshal.SizeOf(typeof(MENUINF­O));

Documentation
MENUINFO on MSDN