Menu.CreateMenuHandle Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Creates a new handle to the Menu.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

	Flags = SecurityPermissionFlag.UnmanagedCode)]
protected virtual IntPtr CreateMenuHandle()

Return Value

Type: System.IntPtr

A handle to the menu if the method succeeds; otherwise, null.


for operating with unmanaged code. Associated enumeration: UnmanagedCode

.NET Framework
Available since 1.1
Return to top