ENDMENU

Top  Previous  Next

Syntax

ENDMENU

Description

Ends a menu definition macro and sets the menu in the window or dialog.

Parameters

None

Return value

None

Remarks

Every BEGINMENU, BEGININSERTMENU, or CONTEXTMENU must be paired with an ENDMENU statement.

See Also: BEGINMENU, MENUITEM, MENUTITLE, BEGINPOPUP, ENDPOPUP, SEPARATOR, BEGININSERTMENU, CONTEXTMENU

Example usage

BEGINMENU win
     MENUTITLE "&File"
     MENUITEM "Open",0,1
     MENUITEM "Close",0,2
     BEGINPOPUP "Save As..."
          MENUITEM "Ascii",0,3
          MENUITEM "Binary",0,4
     ENDPOPUP
     SEPARATOR
     MENUITEM "&QUIT",0,5
     MENUTITLE "&Edit"
     MENUITEM "Cut",0,6
ENDMENU