home *** CD-ROM | disk | FTP | other *** search
- /*------------------------- SHARMENU.H -------------------------*/
- /* */
- /* This file contains definitions used for the menu library */
- /* that are needed both internally by the library and also */
- /* by the user of the library. */
- /* */
- /* Copyright 1990 Dan Vogel & David Bernazzani */
- /* */
- /* Revision History */
- /* */
- /* 03/05/90 DCV Release. */
- /* */
- /*--------------------------------------------------------------*/
-
- #include "SHARCOMP.H" /* Compiler Specific Definitions */
-
- /* Constants */
-
- /* Hot key execution options */
-
- #define HOT_EXEC_OFF 0 /* Do not execute off of hot key strike. */
- #define HOT_EXEC_ON 1 /* Do execute from hot key strike. */
-
-
- /* Error Codes */
-
- #define USER_ABORT -1 /*User aborted out of a menu*/
- #define BAD_MENU_HEAD_PTR -101 /*Menu header pointer is illegal*/
- #define BAD_MENU_ITEM_PTR -102 /*Menu item pointer is illegal*/
- #define BAD_COORD_DEF -103 /*Illegal window coordinates*/
- #define MENU_FILE_NOT_FOUND -104 /*Unable to open menu descr. file*/
- #define MENU_OUT_OF_STRMEM -105 /*Allocation error*/
- #define MENU_OUT_OF_MEM -106 /*Allocation error*/
- #define UNABLE_TO_ALLOC_MENU -107 /*Allocation error*/
- #define NO_MENU_LINK -108 /*Desired link not found*/
- #define NO_MENU_LIST -109 /*Menu list empty*/
-
-
-
-
-