BEGINMENU |
Top Previous Next |
Syntax BEGINMENU win as WINDOW Description Begins defining a menu for a window or dialog. The window or dialog must be open before using this macro. Parameters win - Window or dialog to add menu to. Return value None Remarks Every BEGINMENU statement must be paired with an ENDMENU statement. This is a high level macro for adding an unlimited number of menu items, pop-ups and titles. The menu macros are translated by the compiler into the appropriate calls to CREATEMENU, APPENDMENU, INSERTMENU and SETMENU. See Also: ENDMENU, MENUITEM, MENUTITLE, BEGINPOPUP, ENDPOPUP, SEPARATOR, BEGININSERTMENU, CONTEXTMENU Example usage BEGINMENU win |