SystemMenu Class |
Namespace: VO
The SystemMenu type exposes the following members.
Name | Description | |
---|---|---|
SystemMenu |
Construct a system menu.
Important! This method is used internally by X#. Normally, it should not be called in your application code. To create a system menu object, store the return value of the AppWindow:EnableSystemMenu() method. |
Name | Description | |
---|---|---|
Accelerator |
The accelerator table to be used with this menu.
(Inherited from Menu.) | |
ToolBar |
The toolbar that corresponds to the menu.
(Inherited from Menu.) |
Name | Description | |
---|---|---|
AppendItem |
Add a string to the end of this menu.
(Inherited from Menu.) | |
CheckItem |
Place a check mark to the left of a specified menu item.
(Inherited from Menu.) | |
DeleteItem |
Delete an item from this menu, removing it from memory. (To delete a bitmap or string, specify an ID; to delete a submenu, specify the Menu object.)
(Inherited from Menu.) | |
DisableItem |
Disable a specified menu item (until a subsequent call to Menu:EnableItem()).
(Inherited from Menu.) | |
EnableItem |
Enable a specified menu item that was previously disabled.
(Inherited from Menu.) | |
Handle |
Return the handle for a menu.
(Inherited from Menu.) | |
HyperLabel |
Return the hyperlabel attached to the menu item, or NIL if it has none.
(Inherited from Menu.) | |
InsertItem |
Insert a new menu item before a specified menu item.
(Inherited from Menu.) | |
MakeMenuRtol |
Reverse the order of the menu items in a menu. This is only necessary if you are using an International, bi-directional version of Windows.
(Inherited from Menu.) | |
Name |
Return the name, as a string, stored in the hyperlabel attached to the menu command, or NIL if there is none.
(Inherited from Menu.) | |
PostInit |
Implement customized initialization code for the window.
(Inherited from Menu.) | |
PreInit |
Implement customized initialization code for the server.
(Inherited from Menu.) | |
RegisterItem |
Register the hyperlabel for this menu item.
(Inherited from Menu.) | |
SetAutoUpdate |
Append a section to a specified submenu on a menu. This section automatically keeps track of what MDI child windows are currently open and displays their names on the submenu.
(Inherited from Menu.) | |
ShowAsPopup |
Display menu as a local pop-up menu.
(Inherited from Menu.) | |
UncheckItem |
Remove the check mark (that the user sees) from the menu item. Typically, you do this in response to a MenuCommandEvent on that item.
(Inherited from Menu.) | |
UnregisterItem |
Unregister the hyperlabel for this menu item.
(Inherited from Menu.) |
1oSysMenu := oMyWin:EnableSystemMenu() 2oSysMenu:AppendItem(MENUSEPARATOR) 3oSysMenu:AppendItem(IDM_ABOUT,"About...") 4oSysMenu:RegisterItem(IDM_ABOUT,HyperLabel{#About})