[DllImport("user32.dll")]
static extern IntPtr GetMenu(IntPtr hWnd);
<DllImport("user32.dll")> _
Public Shared Function GetMenu(ByVal hWnd As IntPtr) As IntPtr
End Function
None.
None.
Please add some!
//this.Handle points to the Form (window application project)
int Menu2 = GetMenu(this.Handle.ToInt32());
AppendMenu(Menu2,0xA00,0,null); // makes a separator
AppendMenu(Menu2,0,777,"Pinvoke Rules!");
Do you know one? Please contribute it!