home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / odtlktv4.zip / ODTLKT / TOOLKIT / IDL / CMDDEFS.IDL < prev    next >
Text File  |  1995-12-13  |  6KB  |  140 lines

  1. /********************************************************************/
  2. /*  Licensed Materials - Property of IBM                            */
  3. /*                                                                  */
  4. /*                                                                  */
  5. /* Copyright (C) International Business Machines Corp., 1994.       */
  6. /* Copyright (C) Apple Computer, Inc., 1994                         */
  7. /*                                                                  */
  8. /*  US Government Users Restricted Rights -                         */
  9. /*  Use, duplication, or disclosure restricted                      */
  10. /*  by GSA ADP Schedule Contract with IBM Corp.                     */
  11. /*                                                                  */
  12. /*                                                                  */
  13. /********************************************************************/
  14.  
  15. #ifndef _CMDDEFS_
  16. #define _CMDDEFS_
  17.  
  18. #ifndef _ODTYPESM_
  19. #include "ODTypesM.idl"
  20. #endif
  21.  
  22. #if defined(__SOMIDL__) && defined(EMIT_GLOBAL_CONSTANTS)
  23. #pragma somemittypes on
  24. #endif
  25.  
  26. #ifndef _PLATFORM_OS2_
  27. const ODCommandID  kODCommandShellFirst   = 1000;
  28. const ODCommandID  kODCommandShellLast     = 20000;
  29.  
  30. const ODCommandID  kODCommandAppleMenu    = 1000;
  31. const ODCommandID  kODCommandAbout         = 1001;
  32.  
  33. const ODCommandID  kODCommandDocumentMenu   = 2000;
  34. const ODCommandID  kODCommandNew            = 2001;
  35. const ODCommandID  kODCommandOpen            = 2002;
  36. const ODCommandID  kODCommandOpenDocument   = 2003;
  37. const ODCommandID  kODCommandInsert          = 2004;
  38. const ODCommandID  kODCommandClose          = 2005;
  39. const ODCommandID  kODCommandDeleteDocument  = 2006;
  40. const ODCommandID  kODCommandSave            = 2007;
  41. const ODCommandID  kODCommandSaveACopy      = 2008;
  42. const ODCommandID  kODCommandRevert          = 2009;
  43. const ODCommandID  kODCommandDraft          = 2010;
  44. const ODCommandID  kODCommandDocumentInfo   = 2011;
  45. const ODCommandID  kODCommandPageSetup      = 2012;
  46. const ODCommandID  kODCommandPrint          = 2013;
  47.  
  48. const ODCommandID  kODCommandEditMenu       = 3000;
  49. const ODCommandID  kODCommandUndo            = 3001;
  50. const ODCommandID  kODCommandRedo            = 3002;
  51. const ODCommandID  kODCommandCut            = 3003;
  52. const ODCommandID  kODCommandCopy            = 3004;
  53. const ODCommandID  kODCommandPaste          = 3005;
  54. const ODCommandID  kODCommandPasteAs        = 3006;
  55. const ODCommandID  kODCommandClear          = 3007;
  56. const ODCommandID  kODCommandSelectAll      = 3008;
  57. const ODCommandID  kODCommandGetPartInfo    = 3009;
  58. const ODCommandID  kODCommandPreferences    = 3010;
  59. const ODCommandID  kODCommandViewAsWin      = 3011;
  60.  
  61. #else
  62.  
  63. const ODMenuID MENUID_ROOTPART_FIRST =     0X3000;
  64. const ODMenuID MENUID_ROOTPART_LAST  =     0X3FFF;
  65.  
  66. const ODMenuID MENUID_SHPLGIN_FIRST    =   0x4000;
  67. const ODMenuID MENUID_SHPLGIN_LAST     =   0x4FFF;
  68.  
  69. const ODMenuID MENUID_ACTIVEPART_FIRST =   0x5000;
  70. const ODMenuID MENUID_ACTIVEPART_LAST  =   0x7FFF;
  71.  
  72. const ODMenuID MENUID_ACTIVEPART_USER  =   0x6F00;
  73.  
  74. const ODMenuID IDMS_DOCUMENT           =   0x0001;
  75. const ODMenuID DOC_OPENAS              =   0x0003;
  76. const ODMenuID DOC_OAICON              =   0x0004;
  77. const ODMenuID DOC_OATREE              =   0x0005;
  78. const ODMenuID DOC_OADETAILS           =   0x0006;
  79. const ODMenuID DOC_PRINT               =   0x000D;
  80. const ODMenuID DOC_SEPARATOR1          =   0x0016;
  81. const ODMenuID DOC_SEPARATOR2          =   0x0017;
  82. const ODMenuID IDMS_EDIT               =   0x000E;
  83. const ODMenuID EDIT_CREATE             =   0x5000;
  84. const ODMenuID EDIT_CUT                =   0x5001;
  85. const ODMenuID EDIT_COPY               =   0x5003;
  86. const ODMenuID EDIT_PASTE_MENU         =   0x5005;
  87. const ODMenuID EDIT_PASTE              =   0x5006;
  88. const ODMenuID EDIT_PASTELINK          =   0x5007;
  89. const ODMenuID EDIT_PASTEAS            =   0x5008;
  90. const ODMenuID EDIT_BREAKLINK          =   0x500A;
  91. const ODMenuID EDIT_DELETE             =   0x500B;
  92. const ODMenuID EDIT_SELECTALL          =   0x500C;
  93. const ODMenuID EDIT_DESELECTALL        =   0x500D;
  94. const ODMenuID EDIT_OPENSEL            =   0x500E;
  95. const ODMenuID EDIT_SELPROPERTIES      =   0x500F;
  96. const ODMenuID EDIT_SEL_SHOWAS         =   0x5010;
  97. const ODMenuID EDIT_SEL_SASMALLICON    =   0x5011;
  98. const ODMenuID EDIT_SEL_SALARGEICON    =   0x5012;
  99. const ODMenuID EDIT_SEL_SATHUMBNAIL    =   0x5013;
  100. const ODMenuID EDIT_SEL_SAFRAME        =   0x5014;
  101. const ODMenuID EDIT_SEPARATOR1         =   0x0018;
  102. const ODMenuID EDIT_SEPARATOR2         =   0x0019;
  103. const ODMenuID EDIT_SEPARATOR3         =   0x001A;
  104. const ODMenuID EDIT_SEPARATOR4         =   0x001B;
  105.  
  106. const ODMenuID IDMS_VIEW               =   0x0011;
  107. const ODMenuID VIEW_OPENAS             =   0x5015;
  108. const ODMenuID VIEW_OAICON             =   0x5016;
  109. const ODMenuID VIEW_OATREE             =   0x5017;
  110. const ODMenuID VIEW_OADETAILS          =   0x5018;
  111. const ODMenuID VIEW_OAWINDOW           =   0x5019;
  112. const ODMenuID VIEW_PROPERTIES         =   0x501A;
  113. const ODMenuID VIEW_SHOWAS             =   0x501B;
  114. const ODMenuID VIEW_SASMALLICON        =   0x501C;
  115. const ODMenuID VIEW_SALARGEICON        =   0x501D;
  116. const ODMenuID VIEW_SATHUMBNAIL        =   0x501E;
  117. const ODMenuID VIEW_SAFRAME            =   0x501F;
  118. const ODMenuID VIEW_SHOWLINKS          =   0x5020;
  119. const ODMenuID VIEW_SHOWFRAMEOUTLINE   =   0x5021;
  120. const ODMenuID VIEW_SEPARATOR1         =   0x001C;
  121. const ODMenuID VIEW_SEPARATOR2         =   0x001D;
  122.  
  123. const ODMenuID IDMS_HELP               =   0x0012;
  124. const ODMenuID HELP_INDEX              =   0x5022;
  125. const ODMenuID HELP_GENERAL            =   0x5023;
  126. const ODMenuID HELP_SEPARATOR1         =   0x001E;
  127.  
  128. #endif
  129.  
  130. #if defined(__SOMIDL__) && defined(EMIT_GLOBAL_CONSTANTS)
  131. #pragma somemittypes off
  132. #endif
  133.  
  134. module OpenDoc_Commands
  135. {
  136.   const string OpenDoc_Commands_Version = "1.0.";
  137. };
  138.  
  139. #endif  
  140.