home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / magazine / drdobbs / 1991 / 06 / dflat3 / commands.h < prev    next >
Text File  |  1991-05-14  |  2KB  |  77 lines

  1. /* ---------- commands.h ----------- */
  2.  
  3. #ifndef COMMANDS_H
  4. #define COMMANDS_H
  5.  
  6. enum commands {
  7.     /* ----------- File menu --------- */
  8.     ID_OPEN,
  9.     ID_NEW,
  10.     ID_SAVE,
  11.     ID_SAVEAS,
  12.     ID_PRINT,
  13.     ID_EXIT,
  14.     /* ----------- Edit menu --------- */
  15.     ID_UNDO,
  16.     ID_CUT,
  17.     ID_COPY,
  18.     ID_PASTE,
  19.     ID_PARAGRAPH,
  20.     ID_CLEAR,
  21.     ID_DELETETEXT,
  22.     /* ----------- Options menu --------- */
  23.     ID_INSERT,
  24.     ID_WRAP,
  25.     ID_LOG,
  26.     ID_TABS,
  27.     ID_DISPLAY,
  28.     ID_SAVEOPTIONS,
  29.     /* ----------- Window menu --------- */
  30.     ID_WINDOW,
  31.     ID_CLOSEALL,
  32.     /* ----------- Help menu --------- */
  33.     ID_HELPHELP,
  34.     ID_EXTHELP,
  35.     ID_KEYSHELP,
  36.     ID_HELPINDEX,
  37.     ID_ABOUT,
  38.     /* ----------- System menu --------- */
  39.     ID_SYSRESTORE,
  40.     ID_SYSMOVE,
  41.     ID_SYSSIZE,
  42.     ID_SYSMINIMIZE,
  43.     ID_SYSMAXIMIZE,
  44.     ID_SYSCLOSE,
  45.     /* --------- FileOpen and SaveAs dialog boxes ------- */
  46.     ID_FILENAME,
  47.     ID_FILES,
  48.     ID_DRIVE,
  49.     ID_PATH,
  50.     /* ----------- Windows dialog box ------------ */
  51.     ID_WINDOWLIST,
  52.     /* ------------ generic command buttons ----------- */
  53.     ID_OK,
  54.     ID_CANCEL,
  55.     /* ------- radio buttons on TabStops dialog box ------ */
  56.     ID_TAB2,
  57.     ID_TAB4,
  58.     ID_TAB6,
  59.     ID_TAB8,
  60.     /* --------------- Display dialog box ---------- */
  61.     ID_BORDER,
  62.     ID_TITLE,
  63.     ID_TEXTURE,
  64.     ID_COLOR,
  65.     ID_MONO,
  66.     ID_REVERSE,
  67.     ID_25LINES,
  68.     ID_43LINES,
  69.     ID_50LINES,
  70.     /* ---------------- Log dialog box ----------------- */
  71.     ID_LOGLIST,
  72.     ID_LOGGING
  73. };
  74.  
  75. #endif
  76.  
  77.