home *** CD-ROM | disk | FTP | other *** search
/ Microsoft Programmer's Library 1.3 / Microsoft-Programers-Library-v1.3.iso / sampcode / os2sdk / os2sdk11 / petzold / chap13 / convmenu.h < prev    next >
Encoding:
C/C++ Source or Header  |  1989-02-20  |  857 b   |  30 lines

  1. /*------------------------
  2.    CONVMENU.H header file
  3.   ------------------------*/
  4.  
  5. #define ID_RESOURCE      1
  6.  
  7. #define IDM_FILE         1    // Top-level items
  8. #define IDM_TIMER        2
  9. #define IDM_BACKGROUND   3
  10. #define IDM_TOPEXIT      4
  11. #define IDM_HELP         5
  12.  
  13. #define IDM_NEW          10   // "File" submenu
  14. #define IDM_OPEN         11
  15. #define IDM_SAVE         12
  16. #define IDM_SAVEAS       13
  17. #define IDM_ABOUT        14
  18.  
  19. #define IDM_START        20   // "Timer" submenu
  20. #define IDM_STOP         21
  21.  
  22. #define IDM_WHITE        30   // "Background" submenu
  23. #define IDM_LTGRAY       31
  24. #define IDM_GRAY         32        // Program logic assumes these
  25. #define IDM_DKGRAY       33        // five numbers are consecutive
  26. #define IDM_BLACK        34
  27.  
  28. #define IDM_EXIT         40   // "Exit" submenu
  29. #define IDM_RESUME       41
  30.