Click or drag to resize
Xcalibur Systems LLC Logo

MenuHelper Class

Win32 API Helper: Menu Items.
Inheritance Hierarchy
SystemObject
  Xcalibur.NativeMethods.V2.MenusMenuHelper

Namespace: Xcalibur.NativeMethods.V2.Menus
Assembly: Xcalibur.NativeMethods.V2 (in Xcalibur.NativeMethods.V2.dll) Version: 1.0.1.0
Syntax
public static class MenuHelper

The MenuHelper type exposes the following members.

Methods
 NameDescription
Public methodStatic memberCreateMenu Creates a menu. The menu is initially empty, but it can be filled with menu items by using the InsertMenuItem, AppendMenu, and InsertMenu functions.

CreateMenu function

Public methodStatic memberDeleteMenu Deletes an item from the specified menu. If the menu item opens a menu or submenu, this function destroys the handle to the menu or submenu and frees the memory used by the menu or submenu.

DeleteMenu function

Public methodStatic memberEnableMenuItem Enables, disables, or grays the specified menu item.

EnableMenuItem function

Public methodStatic memberGetMenuItemCount Determines the number of items in the specified menu.

GetMenuItemCount function

Public methodStatic memberGetMenuItemID Retrieves the menu item identifier of a menu item located at the specified position in a menu.

GetMenuItemID function

Public methodStatic memberGetMenuItemInfo Retrieves information about a menu item.

GetMenuItemInfo function

Public methodStatic memberGetSystemMenu Enables the application to access the window menu (also known as the system menu or the control menu) for copying and modifying.

GetSystemMenu function

Public methodStatic memberInsertMenuItem Inserts a new menu item at the specified position in a menu.

InsertMenuItem function

Top
Fields
See Also