home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / OS2BAS.ZIP / WINACCEL.RC < prev    next >
Text File  |  1989-08-30  |  936b  |  37 lines

  1. /*  WinAccel.RC is resource file to define menus and accel tables
  2. **  for WinAccel.BAS.
  3. **
  4. **  NOTE: The resource compiler (RC) which comes with the PM Toolkit
  5. **      uses C syntax for constants, comments and block definition.
  6. */
  7.  
  8. #define ID_RESOURCE 1      /* Constants for Menu definition */
  9. #define IDM_BEEP    2
  10. #define IDM_BEEP1   3
  11. #define IDM_BEEP2   4
  12. #define IDM_BEEP3   5
  13. #define IDM_EXIT    6
  14. #define IDM_BYE     7
  15. #define ID_ACCEL    8
  16.  
  17. MENU ID_RESOURCE
  18.       {
  19.       SUBMENU "~Beep",        IDM_BEEP
  20.            {
  21.        MENUITEM "Beep ~1 (CTRL 1)",   IDM_BEEP1
  22.        MENUITEM "Beep ~2 (CTRL 2)",   IDM_BEEP2
  23.        MENUITEM "Beep ~3 (CTRL 3)",   IDM_BEEP3
  24.            }
  25.       SUBMENU "~Exit",        IDM_EXIT
  26.            {
  27.            MENUITEM "Good ~Bye",   IDM_BYE
  28.            }
  29.       }
  30.  
  31. ACCELTABLE ID_ACCEL
  32.       {
  33.       "1", IDM_BEEP1, CONTROL
  34.       "2", IDM_BEEP2, CONTROL
  35.       "3", IDM_BEEP3, CONTROL
  36.       }
  37.