home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / magazine / drdobbs / 1992 / 06 / dflt12 / commands.h < prev    next >
Text File  |  1992-01-21  |  3KB  |  121 lines

  1. /* ---------------- commands.h ----------------- */
  2.  
  3. /*
  4.  * Command values sent as the first parameter
  5.  * in the COMMAND message
  6.  *
  7.  * Add application-specific commands to this enum
  8.  */
  9.  
  10. #ifndef COMMANDS_H
  11. #define COMMANDS_H
  12.  
  13. enum commands {
  14.     /* --------------- File menu ---------------- */
  15.     ID_OPEN,
  16.     ID_NEW,
  17.     ID_SAVE,
  18.     ID_SAVEAS,
  19.     ID_DELETEFILE,
  20.     ID_PRINT,
  21.     ID_PRINTSETUP,
  22.     ID_DOS,
  23.     ID_EXIT,
  24.     /* --------------- Edit menu ---------------- */
  25.     ID_UNDO,
  26.     ID_CUT,
  27.     ID_COPY,
  28.     ID_PASTE,
  29.     ID_PARAGRAPH,
  30.     ID_CLEAR,
  31.     ID_DELETETEXT,
  32.     /* --------------- Search Menu -------------- */
  33.     ID_SEARCH,
  34.     ID_REPLACE,
  35.     ID_SEARCHNEXT,
  36.     /* --------------- Utilities Menu ------------- */
  37.     ID_CALENDAR,
  38.     ID_BARCHART,
  39.     /* -------------- Options menu -------------- */
  40.     ID_INSERT,
  41.     ID_WRAP,
  42.     ID_LOG,
  43.     ID_TABS,
  44.     ID_DISPLAY,
  45.     ID_SAVEOPTIONS,
  46.     /* --------------- Window menu -------------- */
  47.     ID_CLOSEALL,
  48.     ID_WINDOW,
  49.     ID_MOREWINDOWS,
  50.     /* --------------- Help menu ---------------- */
  51.     ID_HELPHELP,
  52.     ID_EXTHELP,
  53.     ID_KEYSHELP,
  54.     ID_HELPINDEX,
  55.     ID_ABOUT,
  56.     ID_LOADHELP,
  57.     /* --------------- System menu -------------- */
  58. #ifdef INCLUDE_RESTORE
  59.     ID_SYSRESTORE,
  60. #endif
  61.     ID_SYSMOVE,
  62.     ID_SYSSIZE,
  63. #ifdef INCLUDE_MINIMIZE
  64.     ID_SYSMINIMIZE,
  65. #endif
  66. #ifdef INCLUDE_MAXIMIZE
  67.     ID_SYSMAXIMIZE,
  68. #endif
  69.     ID_SYSCLOSE,
  70.     /* ---- FileOpen and SaveAs dialog boxes ---- */
  71.     ID_FILENAME,
  72.     ID_FILES,
  73.     ID_DRIVE,
  74.     ID_PATH,
  75.     /* ----- Search and Replace dialog boxes ---- */
  76.     ID_SEARCHFOR,
  77.     ID_REPLACEWITH,
  78.     ID_MATCHCASE,
  79.     ID_REPLACEALL,
  80.     /* ----------- Windows dialog box ----------- */
  81.     ID_WINDOWLIST,
  82.     /* --------- generic command buttons -------- */
  83.     ID_OK,
  84.     ID_CANCEL,
  85.     ID_HELP,
  86.     /* -------------- TabStops menu ------------- */
  87.     ID_TAB2,
  88.     ID_TAB4,
  89.     ID_TAB6,
  90.     ID_TAB8,
  91.     /* ------------ Display dialog box ---------- */
  92.     ID_BORDER,
  93.     ID_TITLE,
  94.     ID_STATUSBAR,
  95.     ID_TEXTURE,
  96.     ID_COLOR,
  97.     ID_MONO,
  98.     ID_REVERSE,
  99.     ID_25LINES,
  100.     ID_43LINES,
  101.     ID_50LINES,
  102.     /* ------------- Log dialog box ------------- */
  103.     ID_LOGLIST,
  104.     ID_LOGGING,
  105.     /* ------------ HelpBox dialog box ---------- */
  106.     ID_HELPTEXT,
  107.     ID_BACK,
  108.     ID_PREV,
  109.     ID_NEXT,
  110.     /* ---------- Print Select dialog box --------- */
  111.     ID_PRINTERPORT,
  112.     ID_LEFTMARGIN,
  113.     ID_RIGHTMARGIN,
  114.     ID_TOPMARGIN,
  115.     ID_BOTTOMMARGIN,
  116.     /* ----------- InputBox dialog box ------------ */
  117.     ID_INPUTTEXT
  118. };
  119.  
  120. #endif
  121.