home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / dos / window / visions / sharmenu.h < prev    next >
Encoding:
Text File  |  1990-05-20  |  1.4 KB  |  41 lines

  1. /*------------------------- SHARMENU.H -------------------------*/
  2. /*                                */
  3. /*  This file contains definitions used for the menu library    */
  4. /*  that are needed both internally by the library and also    */
  5. /*  by the user of the library.                    */
  6. /*                                */
  7. /*        Copyright 1990 Dan Vogel & David Bernazzani        */
  8. /*                                */
  9. /*        Revision History                */
  10. /*                                */
  11. /*  03/05/90   DCV    Release.                */
  12. /*                                */
  13. /*--------------------------------------------------------------*/
  14.  
  15. #include "SHARCOMP.H"            /* Compiler Specific Definitions */
  16.  
  17.         /* Constants */
  18.  
  19.         /* Hot key execution options */
  20.  
  21. #define    HOT_EXEC_OFF    0    /* Do not execute off of hot key strike. */
  22. #define    HOT_EXEC_ON    1    /* Do execute from hot key strike. */
  23.  
  24.  
  25.         /* Error Codes */
  26.  
  27. #define    USER_ABORT        -1    /*User aborted out of a menu*/
  28. #define    BAD_MENU_HEAD_PTR    -101    /*Menu header pointer is illegal*/
  29. #define    BAD_MENU_ITEM_PTR    -102    /*Menu item pointer is illegal*/
  30. #define    BAD_COORD_DEF        -103    /*Illegal window coordinates*/
  31. #define    MENU_FILE_NOT_FOUND    -104    /*Unable to open menu descr. file*/
  32. #define    MENU_OUT_OF_STRMEM    -105    /*Allocation error*/
  33. #define    MENU_OUT_OF_MEM        -106    /*Allocation error*/
  34. #define    UNABLE_TO_ALLOC_MENU    -107    /*Allocation error*/
  35. #define    NO_MENU_LINK        -108    /*Desired link not found*/
  36. #define    NO_MENU_LIST        -109    /*Menu list empty*/
  37.  
  38.  
  39.  
  40.  
  41.