home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / magazine / drdobbs / 1991 / 08 / dflat5 / commands.h < prev    next >
Text File  |  1991-06-22  |  2KB  |  95 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_DOS,
  14.     ID_EXIT,
  15.     /* ----------- Edit menu --------- */
  16.     ID_UNDO,
  17.     ID_CUT,
  18.     ID_COPY,
  19.     ID_PASTE,
  20.     ID_PARAGRAPH,
  21.     ID_CLEAR,
  22.     ID_DELETETEXT,
  23.     /* ----------- Search Menu --------- */
  24.     ID_SEARCH,
  25.     ID_REPLACE,
  26.     ID_SEARCHNEXT,
  27.     /* ----------- Options menu --------- */
  28.     ID_INSERT,
  29.     ID_WRAP,
  30.     ID_LOG,
  31.     ID_TABS,
  32.     ID_DISPLAY,
  33.     ID_SAVEOPTIONS,
  34.     /* ----------- Window menu --------- */
  35.     ID_WINDOW,
  36.     ID_CLOSEALL,
  37.     /* ----------- Help menu --------- */
  38.     ID_HELPHELP,
  39.     ID_EXTHELP,
  40.     ID_KEYSHELP,
  41.     ID_HELPINDEX,
  42.     ID_ABOUT,
  43.     ID_LOADHELP,
  44.     /* ----------- System menu --------- */
  45.     ID_SYSRESTORE,
  46.     ID_SYSMOVE,
  47.     ID_SYSSIZE,
  48.     ID_SYSMINIMIZE,
  49.     ID_SYSMAXIMIZE,
  50.     ID_SYSCLOSE,
  51.     /* --------- FileOpen and SaveAs dialog boxes ------- */
  52.     ID_FILENAME,
  53.     ID_FILES,
  54.     ID_DRIVE,
  55.     ID_PATH,
  56.     /* ---------- Search and Replace dialog boxes ------------- */
  57.     ID_SEARCHFOR,
  58.     ID_REPLACEWITH,
  59.     ID_MATCHCASE,
  60.     ID_REPLACEALL,
  61.     /* ----------- Windows dialog box ------------ */
  62.     ID_WINDOWLIST,
  63.     /* ------------ generic command buttons ----------- */
  64.     ID_OK,
  65.     ID_CANCEL,
  66.     ID_HELP,
  67.     /* ------- radio buttons on TabStops dialog box ------ */
  68.     ID_TAB2,
  69.     ID_TAB4,
  70.     ID_TAB6,
  71.     ID_TAB8,
  72.     /* --------------- Display dialog box ---------- */
  73.     ID_BORDER,
  74.     ID_TITLE,
  75.     ID_STATUSBAR,
  76.     ID_TEXTURE,
  77.     ID_COLOR,
  78.     ID_MONO,
  79.     ID_REVERSE,
  80.     ID_25LINES,
  81.     ID_43LINES,
  82.     ID_50LINES,
  83.     /* ---------------- Log dialog box ----------------- */
  84.     ID_LOGLIST,
  85.     ID_LOGGING,
  86.     /* ---------------- HelpBox dialog box ------------- */
  87.     ID_HELPTEXT,
  88.     ID_BACK,
  89.     ID_PREV,
  90.     ID_NEXT
  91. };
  92.  
  93. #endif
  94.  
  95.