BEGININSERTMENU

Top  Previous  Next

Syntax

BEGININSERTMENU win, position

Description

Inserts one or more menu(s) into an existing menu in a window or dialog.

Parameters

win - Window or dialog with menu to modify.

position - Zero based insertion position.

Return value

None.

Remarks

Commonly used for MDI frame windows. Every BEGININSERTMENU must be paired with an ENDMENU statement.

See Also: BEGINMENU, ENDMENU, MENUITEM, MENUTITLE, BEGINPOPUP, ENDPOPUP, SEPARATOR, BEGINPOPUP

Example usage

BEGININSERTMENU frame,0
    MENUTITLE "&File"
    MENUITEM "&New",0,1
    MENUITEM "&Quit",0,2
ENDMENU