VDisplayMenu
Name
VDisplayMenu - displays the 3DVIEWNIX menu.
Synopsis
VDisplayMenu()
Description
VDisplayMenu displays the 3DVIEWNIX menu. VDisplayMenu reads the
information from two files MENU.COM and TREEINFO.COM, which are described
in Appendix C, to determine the menu layout.
Return Value
0 - work successfully.
1 - memory allocation error.
2 - read error.
3 - write error.
4 - cannot open MENU.COM file.
238 - cannot allocate the image.
260 - no need to call this function.
Parameters
None.
Side Effects
The file MENU.COM is updated.
Entry Conditions
VCreateColormap must be called first. The program "cr_menu_tree" must
be run to create the files MENU.COM and TREEINFO.COM before VDisplayMenu
is called.
Related Functions
VRemoveMenus,
VSelectMenuItem,
VRedisplayMenus,
VGetMenuInformation,
VWriteMenucomFile,
VReadMenucomFile.