CreateMenu()

Syntax

CreateMenu(#Menu, WindowID)

Description

Creates a new empty menu on the given window. WindowID can be easely get with the WindowID() command from the Window library. Once created, this menu becomes the current menu for building. It's now possible to use the commands like MenuItem(), MenuBar(), etc...

Supported OS

Windows, AmigaOS, Linux

Menu - Index