home *** CD-ROM | disk | FTP | other *** search
/ ActiveX Programming Unleashed CD / AXU.iso / componen / interact / demo / data.2 / samples / ansic / INTERACT / IDOIFACE.MNU < prev    next >
Encoding:
Text File  |  1996-04-05  |  6.2 KB  |  158 lines

  1. IDOIFACE MENU
  2. BEGIN
  3.     POPUP      "&File"
  4.     BEGIN
  5.         MENUITEM   "&New\tCtrl+N",          CM_FILENEW
  6.         MENUITEM   "&Open...\tCtrl+O",      CM_FILEOPEN
  7.         MENUITEM   "&Close",        IDM_CLOSE
  8.         MENUITEM   "&Reset",        IDM_RESET
  9.         MENUITEM  SEPARATOR
  10.         MENUITEM   "&Save\tCtrl+S",         CM_FILESAVE
  11.         MENUITEM   "Save &As...\tCtrl+A",   IDM_SAVEAS
  12.         MENUITEM  SEPARATOR
  13.         MENUITEM   "Reset Palette", IDM_RESETPALETTE
  14.         MENUITEM   "Load Palette...", IDM_LOADPALETTE
  15.         MENUITEM   "Save Palette...", IDM_SAVEPALETTE
  16.         MENUITEM  SEPARATOR
  17.         MENUITEM   "&Print...\tCtrl+P",     CM_FILEPRINT
  18.         MENUITEM  SEPARATOR
  19.         MENUITEM   "E&xit",         CM_EXIT
  20.     END
  21.     POPUP      "&Edit"
  22.     BEGIN
  23.         MENUITEM   "Cut\tCtrl+X",           IDM_CUT
  24.         MENUITEM   "Copy\tCtrl+C",          IDM_COPY
  25.         MENUITEM   "Paste\tCtrl+V",         IDM_PASTE
  26.     END
  27.     POPUP      "&Options"
  28.     BEGIN
  29.         MENUITEM   "Zoom In",         IDM_ZOOMIN
  30.         MENUITEM   "Zoom Out",        IDM_ZOOMOUT
  31.         MENUITEM   "Zoom To Fit Window", IDM_ZOOMTOFITWINDOW
  32.         MENUITEM  SEPARATOR
  33.         MENUITEM   "Use Default Menus", IDM_USEIDOMENUS
  34.         MENUITEM   "Grid Lines",      IDM_GRIDLINES
  35.         MENUITEM   "Snap To Grid",    IDM_SNAPTOGRID
  36.         MENUITEM   "Edit Mode",       IDM_EDITMODE
  37.         MENUITEM   "Enforce Rules",   IDM_ENFORCERULES
  38.         MENUITEM  SEPARATOR
  39.         MENUITEM   "Display Messages", IDM_DISPLAYMESSAGES
  40.     END
  41.     POPUP      "Actions"
  42.     BEGIN
  43.         MENUITEM   "Add Entity",      IDM_ADDENTITY
  44.         MENUITEM   "Add Relation",    IDM_ADDRELATION
  45.         MENUITEM  SEPARATOR
  46.         MENUITEM   "Delete Entity",   IDM_DELETEENTITY
  47.         MENUITEM   "Delete Relation", IDM_DELETERELATION
  48.         MENUITEM  SEPARATOR
  49.         MENUITEM   "Set Current Entity Text", IDM_SETCURRENTENTITYTEXT
  50.         MENUITEM   "Set Item Font",   IDM_SETITEMFONT
  51.     END
  52.     POPUP      "Attributes"
  53.     BEGIN
  54.         POPUP      "InterAct"
  55.         BEGIN
  56.             MENUITEM   "Color",   IDM_COLOR
  57.             MENUITEM   "Grid",    IDM_GRID
  58.         END
  59.         POPUP      "Entity"
  60.         BEGIN
  61.             MENUITEM   "Text",    IDM_TEXT
  62.             MENUITEM   "Color",   IDM1_COLOR
  63.             MENUITEM   "Style",   IDM_SHAPE
  64.             MENUITEM   "Graphic", IDM_GRAPHIC
  65.         END
  66.         POPUP      "Relation"
  67.         BEGIN
  68.             MENUITEM   "Text",    IDM1_TEXT
  69.             MENUITEM   "Style",   IDM1_SHAPE
  70.             MENUITEM   "Color",   IDM2_COLOR
  71.         END
  72.     END
  73.     POPUP      "&Window"
  74.     BEGIN
  75.         MENUITEM   "Tool Palette",    IDM_TOOLPALETTE
  76.         MENUITEM   "Color Palette",   IDM_COLORPALETTE
  77.         MENUITEM   "Alignment Palette", IDM_ALIGNMENTPALETTE
  78.         MENUITEM  SEPARATOR
  79.         MENUITEM   "Refresh InterAct", IDM_REFRESHIDO
  80.         MENUITEM  SEPARATOR
  81.         MENUITEM   "&Cascade",        CM_CASCADECHILDREN
  82.         MENUITEM   "&Tile",           CM_TILECHILDREN
  83.         MENUITEM   "Arrange &Icons",  CM_ARRANGEICONS
  84.         MENUITEM   "Close &All",      CM_CLOSECHILDREN
  85.     END
  86.     POPUP      "&Help"
  87.     BEGIN
  88.         MENUITEM   "&Help",           IDM_HELP
  89.         MENUITEM  SEPARATOR
  90.         MENUITEM   "&About",          IDM_ABOUT
  91.     END
  92. END
  93.  
  94. IDOIFACE ACCELERATORS
  95. BEGIN
  96.        "N",                 CM_FILENEW, VIRTKEY , CONTROL
  97.        "O",                 CM_FILEOPEN, VIRTKEY , CONTROL
  98.        "S",                 CM_FILESAVE, VIRTKEY , CONTROL
  99.        "A",                 IDM_SAVEAS, VIRTKEY , CONTROL
  100.        "P",                 CM_FILEPRINT, VIRTKEY , CONTROL
  101.        "X",                 IDM_CUT, VIRTKEY , CONTROL
  102.        "C",                 IDM_COPY, VIRTKEY , CONTROL
  103.        "V",                 IDM_PASTE, VIRTKEY , CONTROL
  104. END
  105.  
  106. STRINGTABLE PRELOAD DISCARDABLE
  107. BEGIN
  108. CM_FILENEW , "Open a new diagram"
  109. CM_FILEOPEN , "Open an existing diagram file"
  110. CM_FILESAVE , "Save the active window into a diagram file"
  111. CM_FILEPRINT , "Print the active diagram"
  112. CM_EXIT , "Quit the application"
  113. CM_CASCADECHILDREN , "Arrange windows so they overlap"
  114. CM_TILECHILDREN , "Arrange windows as non-overlapping tiles"
  115. CM_ARRANGEICONS , "Arrange icons at the bottom of the window"
  116. CM_CLOSECHILDREN , "Close all windows"
  117. IDM_ZOOMIN , "Zoom in"
  118. IDM_ZOOMOUT , "Zoom out"
  119. IDM_ZOOMTOFITWINDOW , "Zoom diagram to fit window"
  120. IDM_EDITMODE , "All the diagram to be edited"
  121. IDM_DELETEENTITY , "Delete an entity"
  122. IDM_ABOUT , "About InterAct"
  123. IDM_CLOSE , "Close the avtive diagram window"
  124. IDM_RESET , "Reset the active diagram window"
  125. IDM_SAVEAS , "Save the active window into a new diagram file"
  126. IDM_RESETPALETTE , "Reset the tools palette for the active diagram"
  127. IDM_LOADPALETTE , "Load a tools palette for the active diagram"
  128. IDM_SAVEPALETTE , "Save the tools palette for the active diagram"
  129. IDM_CUT , "Remove selected objects to the clipboard"
  130. IDM_COPY , "Copy selected objects to the clipboard"
  131. IDM_PASTE , "Paste objects from the clipboard"
  132. IDM_USEIDOMENUS , "Display default menus when objects are right-clicked"
  133. IDM_GRIDLINES , "Display grid lines"
  134. IDM_SNAPTOGRID , "Snap objects to nearest grid line"
  135. IDM_DISPLAYMESSAGES , "Display messages confirming addition/deletion of objects"
  136. IDM_ADDENTITY , "Add an entity"
  137. IDM_ADDRELATION , "Add a relation"
  138. IDM_DELETERELATION , "Delete a relation"
  139. IDM_SETCURRENTENTITYTEXT , "Set text on the current entity"
  140. IDM_SETITEMFONT , "Set font on the current entity"
  141. IDM_COLOR , "Display color properties for InterAct"
  142. IDM_GRID , "Display grid properties for InterAct"
  143. IDM_TEXT , "Display text properties for current entity"
  144. IDM1_COLOR , "Display color properties for current entity"
  145. IDM_SHAPE , "Display style properties for current entity"
  146. IDM_GRAPHIC , "Display graphics properties for current entity"
  147. IDM1_TEXT , "Display text properties for current relation"
  148. IDM1_SHAPE , "Display style properties for current relation"
  149. IDM2_COLOR , "Display color properties for current relation"
  150. IDM_TOOLPALETTE , "Show tools palette"
  151. IDM_COLORPALETTE , "Show color palette"
  152. IDM_ALIGNMENTPALETTE , "Show alignment palette"
  153. IDM_REFRESHIDO , "Refresh InterAct window"
  154. IDM_HELP , "Help"
  155. IDM_ENFORCERULES , "Enforce Rules within the Diagram"
  156. END
  157.  
  158.