|
|
Pass the CreateMenu procedure a name (in this case, ``form''), which becomes the parent for this portion of the widget tree.
Next, call VtMenuBar(VTCL) is called to create the MenuBar widget. As usual, a handle is returned. This handle is stored in the variable menubar.
Successive calls to VtPulldown(VTCL) create the two pulldown menus. The syntax used here should be familiar by now.