This website has been designed for use with the FireFox browser. Please use FireFox to view this page.
DeleteMenu Reference in C#, VB.NET and VB6
Library:user32.dll
Visual Basic .NET definition
Declare Function DeleteMenu Lib "user32" (ByVal hMenu As Integer, ByVal nPosition As Integer, ByVal wFlags As Integer) As Integer
C# definition
[DllImport("user32")]
public static extern int DeleteMenu(int hMenu, int nPosition, int wFlags)
Description
DeleteMenu
Deletes a menu item.
System.Windows.Forms.Menu.MenuItemCollection.Remove
Further Information:
For further information on Windows API functions such as these, and how to use these API's in your
C# and VB.NET applications, please refer to the book 'Network programming in .NET' (Buy at Amazon UK) (Buy at Amazon US)