Code: Select all
#include "Fivewin.ch"
FUNCTION MAIN()
LOCAL oWnd, oMenu
MENU oMenu
MENUITEM "Test"
MENU
MENUITEM "This is a test"
ENDMENU
ENDMENU
DEFINE WINDOW oWnd;
MENU oMenu
ACTIVATE WINDOW oWnd
RETURN NIL