C# Class NewTOAPIA.UI.User32Menu

Inheritance: IHandle
ファイルを表示 Open project: Wiladams/NewTOAPIA Class Usage Examples

Public Properties

Property Type Description
Empty User32Menu

Public Methods

Method Description
Add ( User32Menu menu ) : void
Add ( User32MenuItem item ) : void
Add ( string name, uint newID ) : void
AppendSeparator ( ) : void
SystemMenu ( Window win ) : User32Menu
User32Menu ( IntPtr hMenu ) : System
User32Menu ( string name ) : System

Protected Methods

Method Description
Create ( ) : IntPtr

Private Methods

Method Description
AppendMenu ( IntPtr hMenu, uint uFlags, uint uIDNewItem, string lpNewItem ) : bool
CreatePopupMenu ( ) : IntPtr
GetSystemMenu ( IntPtr hWnd, bool bRevert ) : IntPtr

Method Details

Add() public method

public Add ( User32Menu menu ) : void
menu User32Menu
return void

Add() public method

public Add ( User32MenuItem item ) : void
item User32MenuItem
return void

Add() public method

public Add ( string name, uint newID ) : void
name string
newID uint
return void

AppendSeparator() public method

public AppendSeparator ( ) : void
return void

Create() protected method

protected Create ( ) : IntPtr
return System.IntPtr

SystemMenu() public static method

public static SystemMenu ( Window win ) : User32Menu
win Window
return User32Menu

User32Menu() public method

public User32Menu ( IntPtr hMenu ) : System
hMenu System.IntPtr
return System

User32Menu() public method

public User32Menu ( string name ) : System
name string
return System

Property Details

Empty public_oe static_oe property

public static User32Menu,NewTOAPIA.UI Empty
return User32Menu