home *** CD-ROM | disk | FTP | other *** search
/ BUG 4 / BUGCD1997_05.BIN / aplic / visualj / vjtrial.exe / RCDATA / CABINET / appwzenu.dll / TEMPLATE / LOC.RC < prev    next >
Text File  |  1997-01-22  |  42KB  |  1,192 lines

  1. /////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Menu
  4. //
  5.  
  6. $$IF(TARGET_INTEL || TARGET_MIPS || TARGET_ALPHA)
  7. $$IF(PROJTYPE_MDI)
  8. $$IF(TARGET_MAC)
  9. #if defined(APSTUDIO_INVOKED) || !defined(_MAC)
  10. $$ENDIF //TARGET_MAC
  11. IDR_MAINFRAME MENU PRELOAD DISCARDABLE 
  12. BEGIN
  13.     POPUP "&File"
  14.     BEGIN
  15.         MENUITEM "&New\tCtrl+N",                ID_FILE_NEW
  16.         MENUITEM "&Open...\tCtrl+O",            ID_FILE_OPEN
  17. $$IF(PRINT)
  18.         MENUITEM SEPARATOR
  19.         MENUITEM "P&rint Setup...",             ID_FILE_PRINT_SETUP
  20. $$ENDIF //PRINT
  21. $$IF(HAS_MRU)
  22.         MENUITEM SEPARATOR
  23.         MENUITEM "Recent File",                 ID_FILE_MRU_FILE1,GRAYED
  24. $$ENDIF //HAS_MRU
  25.         MENUITEM SEPARATOR
  26.         MENUITEM "E&xit",                       ID_APP_EXIT
  27.     END
  28. $$IF(TOOLBAR || STATUSBAR)
  29.     POPUP "&View"
  30.     BEGIN
  31. $$IF(TOOLBAR)
  32.         MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  33. $$ENDIF //TOOLBAR
  34. $$IF(STATUSBAR)
  35.         MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  36. $$ENDIF //STATUSBAR
  37.     END
  38. $$ENDIF //TOOLBAR || STATUSBAR
  39.     POPUP "&Help"
  40.     BEGIN
  41. $$IF(HELP)
  42.         MENUITEM "&Help Topics",                ID_HELP_FINDER
  43.         MENUITEM SEPARATOR
  44. $$ENDIF //HELP
  45.         MENUITEM "&About $$Root$$...",          ID_APP_ABOUT
  46.     END
  47. END
  48. $$IF(TARGET_MAC)
  49. #endif
  50.  
  51. #if defined(APSTUDIO_INVOKED) || !defined(_MAC)
  52. $$ENDIF //TARGET_MAC
  53. IDR_$$DOC$$TYPE MENU PRELOAD DISCARDABLE 
  54. BEGIN
  55.     POPUP "&File"
  56.     BEGIN
  57.         MENUITEM "&New\tCtrl+N",                ID_FILE_NEW
  58.         MENUITEM "&Open...\tCtrl+O",            ID_FILE_OPEN
  59.         MENUITEM "&Close",                      ID_FILE_CLOSE
  60.         MENUITEM "&Save\tCtrl+S",               ID_FILE_SAVE
  61.         MENUITEM "Save &As...",                 ID_FILE_SAVE_AS
  62. $$IF(PRINT)
  63.         MENUITEM SEPARATOR
  64.         MENUITEM "&Print...\tCtrl+P",           ID_FILE_PRINT
  65.         MENUITEM "Print Pre&view",              ID_FILE_PRINT_PREVIEW
  66.         MENUITEM "P&rint Setup...",             ID_FILE_PRINT_SETUP
  67. $$ENDIF //PRINT
  68. $$IF(MAPI)
  69.         MENUITEM SEPARATOR
  70.         MENUITEM "Sen&d...",                    ID_FILE_SEND_MAIL
  71. $$ENDIF //MAPI
  72. $$IF(HAS_MRU)
  73.         MENUITEM SEPARATOR
  74.         MENUITEM "Recent File",                 ID_FILE_MRU_FILE1,GRAYED
  75. $$ENDIF //HAS_MRU
  76.         MENUITEM SEPARATOR
  77.         MENUITEM "E&xit",                       ID_APP_EXIT
  78.     END
  79.     POPUP "&Edit"
  80.     BEGIN
  81.         MENUITEM "&Undo\tCtrl+Z",               ID_EDIT_UNDO
  82.         MENUITEM SEPARATOR
  83.         MENUITEM "Cu&t\tCtrl+X",                ID_EDIT_CUT
  84.         MENUITEM "&Copy\tCtrl+C",               ID_EDIT_COPY
  85.         MENUITEM "&Paste\tCtrl+V",              ID_EDIT_PASTE
  86. $$IF(CONTAINER || CONTAINER_SERVER)
  87.         MENUITEM "Paste &Special...",           ID_EDIT_PASTE_SPECIAL
  88. $$IF(CRichEditView)
  89.         MENUITEM "Select A&ll\tCtrl+A",         ID_EDIT_SELECT_ALL
  90.         MENUITEM SEPARATOR
  91.         MENUITEM "&Find...\tCtrl+F",            ID_EDIT_FIND
  92.         MENUITEM "F&ind Next\tF3",              ID_EDIT_REPEAT
  93.         MENUITEM "R&eplace\tCtrl+H",            ID_EDIT_REPLACE
  94. $$ENDIF //CRichEditView
  95.         MENUITEM SEPARATOR
  96.         MENUITEM "Insert &New Object...",       ID_OLE_INSERT_NEW
  97.         MENUITEM "Lin&ks...",                   ID_OLE_EDIT_LINKS
  98. $$IF(CRichEditView)
  99.         MENUITEM "Object P&roperties\tAlt+Enter", ID_OLE_EDIT_PROPERTIES
  100. $$ENDIF //CRichEditView
  101.         MENUITEM "<<OLE VERBS GO HERE>>",       ID_OLE_VERB_FIRST
  102. $$ENDIF //CONTAINER || CONTAINER_SERVER
  103.     END
  104. $$IF(CRecordView || CDaoRecordView)
  105.     POPUP "&Record"
  106.     BEGIN
  107.         MENUITEM "&First Record"                ID_RECORD_FIRST
  108.         MENUITEM "&Previous Record"                ID_RECORD_PREV
  109.         MENUITEM "&Next Record"                    ID_RECORD_NEXT
  110.         MENUITEM "&Last Record"                    ID_RECORD_LAST
  111.     END
  112. $$ENDIF //CRecordView || CDaoRecordView
  113. $$IF(TOOLBAR || STATUSBAR)
  114.     POPUP "&View"
  115.     BEGIN
  116. $$IF(TOOLBAR)
  117.         MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  118. $$ENDIF //TOOLBAR
  119. $$IF(STATUSBAR)
  120.         MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  121. $$ENDIF //STATUSBAR
  122.     END
  123. $$ENDIF //TOOLBAR || STATUSBAR
  124.     POPUP "&Window"
  125.     BEGIN
  126.         MENUITEM "&New Window",                 ID_WINDOW_NEW
  127.         MENUITEM "&Cascade",                    ID_WINDOW_CASCADE
  128.         MENUITEM "&Tile",                       ID_WINDOW_TILE_HORZ
  129.         MENUITEM "&Arrange Icons",              ID_WINDOW_ARRANGE
  130. $$IF(SPLITTER)
  131.         MENUITEM "S&plit",                      ID_WINDOW_SPLIT
  132. $$ENDIF //SPLITTER
  133.     END
  134.     POPUP "&Help"
  135.     BEGIN
  136. $$IF(HELP)
  137.         MENUITEM "&Help Topics",                ID_HELP_FINDER
  138.         MENUITEM SEPARATOR
  139. $$ENDIF //HELP
  140.         MENUITEM "&About $$Root$$...",          ID_APP_ABOUT
  141.     END
  142. END
  143. $$IF(TARGET_MAC)
  144. #endif
  145. $$ENDIF //TARGET_MAC
  146.  
  147. $$IF(CONTAINER || CONTAINER_SERVER)
  148. $$IF(TARGET_MAC)
  149. #if defined(APSTUDIO_INVOKED) || !defined(_MAC)
  150. $$ENDIF //TARGET_MAC
  151. IDR_$$DOC$$TYPE_CNTR_IP MENU PRELOAD DISCARDABLE 
  152. BEGIN
  153.     POPUP "&File"
  154.     BEGIN
  155.         MENUITEM "&New\tCtrl+N",                ID_FILE_NEW
  156.         MENUITEM "&Open...\tCtrl+O",            ID_FILE_OPEN
  157.         MENUITEM "&Close",                      ID_FILE_CLOSE
  158.         MENUITEM "&Save\tCtrl+S",               ID_FILE_SAVE
  159.         MENUITEM "Save &As...",                 ID_FILE_SAVE_AS
  160. $$IF(PRINT)
  161.         MENUITEM SEPARATOR
  162.         MENUITEM "&Print...\tCtrl+P",           ID_FILE_PRINT
  163.         MENUITEM "Print Pre&view",              ID_FILE_PRINT_PREVIEW
  164.         MENUITEM "P&rint Setup...",             ID_FILE_PRINT_SETUP
  165. $$ENDIF //PRINT
  166. $$IF(MAPI)
  167.         MENUITEM SEPARATOR
  168.         MENUITEM "Sen&d...",                    ID_FILE_SEND_MAIL
  169. $$ENDIF //MAPI
  170. $$IF(HAS_MRU)
  171.         MENUITEM SEPARATOR
  172.         MENUITEM "Recent File",                 ID_FILE_MRU_FILE1,GRAYED
  173. $$ENDIF //HAS_MRU
  174.         MENUITEM SEPARATOR
  175.         MENUITEM "E&xit",                       ID_APP_EXIT
  176.     END
  177.     MENUITEM SEPARATOR
  178.     MENUITEM SEPARATOR
  179.     POPUP "&Window"
  180.     BEGIN
  181.         MENUITEM "&New Window",                 ID_WINDOW_NEW
  182.         MENUITEM "&Cascade",                    ID_WINDOW_CASCADE
  183.         MENUITEM "&Tile",                       ID_WINDOW_TILE_HORZ
  184.         MENUITEM "&Arrange Icons",              ID_WINDOW_ARRANGE
  185. $$IF(SPLITTER)
  186.         MENUITEM "S&plit",                      ID_WINDOW_SPLIT
  187. $$ENDIF //SPLITTER
  188.     END
  189. END
  190. $$IF(TARGET_MAC)
  191. #endif
  192. $$ENDIF //TARGET_MAC
  193. $$ENDIF//CONTAINER || CONTAINER_SERVER
  194.  
  195. $$IF(MINI_SERVER || FULL_SERVER || CONTAINER_SERVER)
  196. $$IF(TARGET_MAC)
  197. #if defined(APSTUDIO_INVOKED) || !defined(_MAC)
  198. $$ENDIF //TARGET_MAC
  199. IDR_$$DOC$$TYPE_SRVR_EMB MENU PRELOAD DISCARDABLE 
  200. BEGIN
  201.     POPUP "&File"
  202.     BEGIN
  203.         MENUITEM "&New\tCtrl+N",                ID_FILE_NEW
  204.         MENUITEM "&Open...\tCtrl+O",            ID_FILE_OPEN
  205.         MENUITEM "&Close",                      ID_FILE_CLOSE
  206.         MENUITEM "&Update\tCtrl+S",                ID_FILE_UPDATE
  207. $$IF(MINI_SERVER)
  208. $$ELSE        
  209.         MENUITEM "Save Copy &As...",            ID_FILE_SAVE_COPY_AS
  210. $$ENDIF        
  211. $$IF(PRINT)
  212.         MENUITEM SEPARATOR
  213.         MENUITEM "&Print...\tCtrl+P",           ID_FILE_PRINT
  214.         MENUITEM "Print Pre&view",              ID_FILE_PRINT_PREVIEW
  215.         MENUITEM "P&rint Setup...",             ID_FILE_PRINT_SETUP
  216. $$ENDIF //PRINT
  217. $$IF(MAPI)
  218.         MENUITEM SEPARATOR
  219.         MENUITEM "Sen&d...",                    ID_FILE_SEND_MAIL
  220. $$ENDIF //MAPI
  221. $$IF(HAS_MRU)
  222.         MENUITEM SEPARATOR
  223.         MENUITEM "Recent File",                 ID_FILE_MRU_FILE1,GRAYED
  224. $$ENDIF //HAS_MRU
  225.         MENUITEM SEPARATOR
  226.         MENUITEM "E&xit",                       ID_APP_EXIT
  227.     END
  228.     POPUP "&Edit"
  229.     BEGIN
  230.         MENUITEM "&Undo\tCtrl+Z",               ID_EDIT_UNDO
  231.         MENUITEM SEPARATOR
  232.         MENUITEM "Cu&t\tCtrl+X",                ID_EDIT_CUT
  233.         MENUITEM "&Copy\tCtrl+C",               ID_EDIT_COPY
  234.         MENUITEM "&Paste\tCtrl+V",              ID_EDIT_PASTE
  235. $$IF(CONTAINER || CONTAINER_SERVER)
  236.         MENUITEM "Paste &Special...",           ID_EDIT_PASTE_SPECIAL
  237. $$IF(CRichEditView)
  238.         MENUITEM "Select A&ll\tCtrl+A",         ID_EDIT_SELECT_ALL
  239.         MENUITEM SEPARATOR
  240.         MENUITEM "&Find...\tCtrl+F",            ID_EDIT_FIND
  241.         MENUITEM "F&ind Next\tF3",              ID_EDIT_REPEAT
  242.         MENUITEM "R&eplace\tCtrl+H",            ID_EDIT_REPLACE
  243. $$ENDIF //CRichEditView
  244.         MENUITEM SEPARATOR
  245.         MENUITEM "Insert &New Object...",       ID_OLE_INSERT_NEW
  246.         MENUITEM "Lin&ks...",                   ID_OLE_EDIT_LINKS
  247. $$IF(CRichEditView)
  248.         MENUITEM "Object P&roperties\tAlt+Enter", ID_OLE_EDIT_PROPERTIES
  249. $$ENDIF //CRichEditView
  250.         MENUITEM "<<OLE VERBS GO HERE>>",       ID_OLE_VERB_FIRST
  251. $$ENDIF //CONTAINER || CONTAINER_SERVER
  252.     END
  253. $$IF(CRecordView || CDaoRecordView)
  254.     POPUP "&Record"
  255.     BEGIN
  256.         MENUITEM "&First Record"                ID_RECORD_FIRST
  257.         MENUITEM "&Previous Record"                ID_RECORD_PREV
  258.         MENUITEM "&Next Record"                    ID_RECORD_NEXT
  259.         MENUITEM "&Last Record"                    ID_RECORD_LAST
  260.     END
  261. $$ENDIF //CRecordView || CDaoRecordView
  262. $$IF(TOOLBAR || STATUSBAR)
  263.     POPUP "&View"
  264.     BEGIN
  265. $$IF(TOOLBAR)
  266.         MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  267. $$ENDIF //TOOLBAR
  268. $$IF(STATUSBAR)
  269.         MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  270. $$ENDIF //STATUSBAR
  271.     END
  272. $$ENDIF //TOOLBAR || STATUSBAR
  273.     POPUP "&Window"
  274.     BEGIN
  275.         MENUITEM "&New Window",                 ID_WINDOW_NEW
  276.         MENUITEM "&Cascade",                    ID_WINDOW_CASCADE
  277.         MENUITEM "&Tile",                       ID_WINDOW_TILE_HORZ
  278.         MENUITEM "&Arrange Icons",              ID_WINDOW_ARRANGE
  279. $$IF(SPLITTER)
  280.         MENUITEM "S&plit",                      ID_WINDOW_SPLIT
  281. $$ENDIF //SPLITTER
  282.     END
  283.     POPUP "&Help"
  284.     BEGIN
  285. $$IF(HELP)
  286.         MENUITEM "&Help Topics",                ID_HELP_FINDER
  287.         MENUITEM SEPARATOR
  288. $$ENDIF //HELP
  289.         MENUITEM "&About $$Root$$...",          ID_APP_ABOUT
  290.     END
  291. END
  292. $$IF(TARGET_MAC)
  293. #endif
  294.  
  295. #if defined(APSTUDIO_INVOKED) || !defined(_MAC)
  296. $$ENDIF //TARGET_MAC
  297. IDR_$$DOC$$TYPE_SRVR_IP MENU PRELOAD DISCARDABLE 
  298. BEGIN
  299.     POPUP "&Edit"
  300.     BEGIN
  301.         MENUITEM "&Undo\tCtrl+Z",               ID_EDIT_UNDO
  302.         MENUITEM SEPARATOR
  303.         MENUITEM "Cu&t\tCtrl+X",                ID_EDIT_CUT
  304.         MENUITEM "&Copy\tCtrl+C",               ID_EDIT_COPY
  305.         MENUITEM "&Paste\tCtrl+V",              ID_EDIT_PASTE
  306. $$IF(CONTAINER || CONTAINER_SERVER)
  307.         MENUITEM "Paste &Special...",           ID_EDIT_PASTE_SPECIAL
  308. $$IF(CRichEditView)
  309.         MENUITEM "Select A&ll\tCtrl+A",         ID_EDIT_SELECT_ALL
  310.         MENUITEM SEPARATOR
  311.         MENUITEM "&Find...\tCtrl+F",            ID_EDIT_FIND
  312.         MENUITEM "F&ind Next\tF3",              ID_EDIT_REPEAT
  313.         MENUITEM "R&eplace\tCtrl+H",            ID_EDIT_REPLACE
  314. $$ENDIF //CRichEditView
  315.         MENUITEM SEPARATOR
  316.         MENUITEM "Insert &New Object...",       ID_OLE_INSERT_NEW
  317.         MENUITEM "Lin&ks...",                   ID_OLE_EDIT_LINKS
  318. $$IF(CRichEditView)
  319.         MENUITEM "Object P&roperties\tAlt+Enter", ID_OLE_EDIT_PROPERTIES
  320. $$ENDIF //CRichEditView
  321.         MENUITEM "<<OLE VERBS GO HERE>>",       ID_OLE_VERB_FIRST
  322. $$ENDIF //CONTAINER || CONTAINER_SERVER
  323.     END
  324. $$IF(CRecordView || CDaoRecordView)
  325.     POPUP "&Record"
  326.     BEGIN
  327.         MENUITEM "&First Record"                ID_RECORD_FIRST
  328.         MENUITEM "&Previous Record"                ID_RECORD_PREV
  329.         MENUITEM "&Next Record"                    ID_RECORD_NEXT
  330.         MENUITEM "&Last Record"                    ID_RECORD_LAST
  331.     END
  332. $$ENDIF //CRecordView || CDaoRecordView
  333. $$IF(TOOLBAR)
  334.     POPUP "&View"
  335.     BEGIN
  336.         MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  337.     END
  338. $$ENDIF //TOOLBAR
  339.     MENUITEM SEPARATOR
  340.     MENUITEM SEPARATOR
  341.     POPUP "&Help"
  342.     BEGIN
  343. $$IF(HELP)
  344.         MENUITEM "&Help Topics",                ID_HELP_FINDER
  345.         MENUITEM SEPARATOR
  346. $$ENDIF //HELP
  347.         MENUITEM "&About $$Root$$...",          ID_APP_ABOUT
  348.     END
  349. END
  350. $$IF(TARGET_MAC)
  351. #endif
  352. $$ENDIF //TARGET_MAC
  353. $$ENDIF//MINI_SERVER || FULL_SERVER || CONTAINER_SERVER
  354.  
  355. $$ELSE // SDI
  356. $$IF(TARGET_MAC)
  357. #if defined(APSTUDIO_INVOKED) || !defined(_MAC)
  358. $$ENDIF //TARGET_MAC
  359. IDR_MAINFRAME MENU PRELOAD DISCARDABLE 
  360. BEGIN
  361. $$IF(MINI_SERVER)
  362.     POPUP "&File"
  363.     BEGIN
  364.         MENUITEM "E&xit",                       ID_APP_EXIT
  365.         MENUITEM SEPARATOR
  366.         MENUITEM "&About $$Root$$...",          ID_APP_ABOUT
  367.     END
  368. $$ELSE
  369.     POPUP "&File"
  370.     BEGIN
  371. $$IF(!DB_NO_FILE)
  372.         MENUITEM "&New\tCtrl+N",                ID_FILE_NEW
  373.         MENUITEM "&Open...\tCtrl+O",            ID_FILE_OPEN
  374.         MENUITEM "&Save\tCtrl+S",               ID_FILE_SAVE
  375.         MENUITEM "Save &As...",                 ID_FILE_SAVE_AS
  376. $$ENDIF //!DB_NO_FILE
  377. $$IF(PRINT)
  378. $$IF(!DB_NO_FILE)
  379.         MENUITEM SEPARATOR
  380. $$ENDIF //!DB_NO_FILE
  381.         MENUITEM "&Print...\tCtrl+P",           ID_FILE_PRINT
  382.         MENUITEM "Print Pre&view",              ID_FILE_PRINT_PREVIEW
  383.         MENUITEM "P&rint Setup...",             ID_FILE_PRINT_SETUP
  384. $$ENDIF //PRINT
  385. $$IF(DB_NO_FILE)
  386. $$IF(PRINT)
  387.         MENUITEM SEPARATOR
  388. $$ENDIF //PRINT
  389.         MENUITEM "E&xit",                        ID_APP_EXIT
  390. $$ELSE  //!DB_NO_FILE
  391. $$IF(MAPI)
  392.         MENUITEM SEPARATOR
  393.         MENUITEM "Sen&d...",                    ID_FILE_SEND_MAIL
  394. $$ENDIF //MAPI
  395. $$IF(HAS_MRU)
  396.         MENUITEM SEPARATOR
  397.         MENUITEM "Recent File",                 ID_FILE_MRU_FILE1,GRAYED
  398. $$ENDIF //HAS_MRU
  399.         MENUITEM SEPARATOR
  400.         MENUITEM "E&xit",                       ID_APP_EXIT
  401. $$ENDIF //DB_NO_FILE
  402.     END
  403.     POPUP "&Edit"
  404.     BEGIN
  405.         MENUITEM "&Undo\tCtrl+Z",               ID_EDIT_UNDO
  406.         MENUITEM SEPARATOR
  407.         MENUITEM "Cu&t\tCtrl+X",                ID_EDIT_CUT
  408.         MENUITEM "&Copy\tCtrl+C",               ID_EDIT_COPY
  409.         MENUITEM "&Paste\tCtrl+V",              ID_EDIT_PASTE
  410. $$IF(CONTAINER || CONTAINER_SERVER)
  411.         MENUITEM "Paste &Special...",           ID_EDIT_PASTE_SPECIAL
  412. $$IF(CRichEditView)
  413.         MENUITEM "Select A&ll\tCtrl+A",         ID_EDIT_SELECT_ALL
  414.         MENUITEM SEPARATOR
  415.         MENUITEM "&Find...\tCtrl+F",            ID_EDIT_FIND
  416.         MENUITEM "F&ind Next\tF3",              ID_EDIT_REPEAT
  417.         MENUITEM "R&eplace\tCtrl+H",            ID_EDIT_REPLACE
  418. $$ENDIF //CRichEditView
  419.         MENUITEM SEPARATOR
  420.         MENUITEM "Insert &New Object...",       ID_OLE_INSERT_NEW
  421.         MENUITEM "Lin&ks...",                   ID_OLE_EDIT_LINKS
  422. $$IF(CRichEditView)
  423.         MENUITEM "Object P&roperties\tAlt+Enter", ID_OLE_EDIT_PROPERTIES
  424. $$ENDIF //CRichEditView
  425.         MENUITEM "<<OLE VERBS GO HERE>>",       ID_OLE_VERB_FIRST
  426. $$ENDIF //CONTAINER || CONTAINER_SERVER
  427.     END
  428. $$IF(CRecordView || CDaoRecordView)
  429.     POPUP "&Record"
  430.     BEGIN
  431.         MENUITEM "&First Record"                ID_RECORD_FIRST
  432.         MENUITEM "&Previous Record"                ID_RECORD_PREV
  433.         MENUITEM "&Next Record"                    ID_RECORD_NEXT
  434.         MENUITEM "&Last Record"                    ID_RECORD_LAST
  435.     END
  436. $$ENDIF //CRecordView || CDaoRecordView
  437. $$IF(TOOLBAR || STATUSBAR || SPLITTER)
  438.     POPUP "&View"
  439.     BEGIN
  440. $$IF(TOOLBAR)
  441.         MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  442. $$ENDIF //TOOLBAR
  443. $$IF(STATUSBAR)
  444.         MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  445. $$ENDIF //STATUSBAR
  446. $$IF(SPLITTER)
  447.         MENUITEM "S&plit",                      ID_WINDOW_SPLIT
  448. $$ENDIF //SPLITTER
  449.     END
  450. $$ENDIF //TOOLBAR || STATUSBAR
  451.     POPUP "&Help"
  452.     BEGIN
  453. $$IF(HELP)
  454.         MENUITEM "&Help Topics",                ID_HELP_FINDER
  455.         MENUITEM SEPARATOR
  456. $$ENDIF //HELP
  457.         MENUITEM "&About $$Root$$...",          ID_APP_ABOUT
  458.     END
  459. $$ENDIF//!MINI_SERVER
  460. END
  461. $$IF(TARGET_MAC)
  462. #endif
  463. $$ENDIF //TARGET_MAC
  464.  
  465. $$IF(CONTAINER || CONTAINER_SERVER)
  466. $$IF(TARGET_MAC)
  467. #if defined(APSTUDIO_INVOKED) || !defined(_MAC)
  468. $$ENDIF //TARGET_MAC
  469. IDR_CNTR_INPLACE MENU PRELOAD DISCARDABLE 
  470. BEGIN
  471.     POPUP "&File"
  472.     BEGIN
  473.         MENUITEM "&New\tCtrl+N",                ID_FILE_NEW
  474.         MENUITEM "&Open...\tCtrl+O",            ID_FILE_OPEN
  475.         MENUITEM "&Save\tCtrl+S",               ID_FILE_SAVE
  476.         MENUITEM "Save &As...",                 ID_FILE_SAVE_AS
  477. $$IF(PRINT)
  478.         MENUITEM SEPARATOR
  479.         MENUITEM "&Print...\tCtrl+P",           ID_FILE_PRINT
  480.         MENUITEM "Print Pre&view",              ID_FILE_PRINT_PREVIEW
  481.         MENUITEM "P&rint Setup...",             ID_FILE_PRINT_SETUP
  482. $$ENDIF //PRINT
  483. $$IF(MAPI)
  484.         MENUITEM SEPARATOR
  485.         MENUITEM "Sen&d...",                    ID_FILE_SEND_MAIL
  486. $$ENDIF //MAPI
  487. $$IF(HAS_MRU)
  488.         MENUITEM SEPARATOR
  489.         MENUITEM "Recent File",                 ID_FILE_MRU_FILE1,GRAYED
  490. $$ENDIF //HAS_MRU
  491.         MENUITEM SEPARATOR
  492.         MENUITEM "E&xit",                       ID_APP_EXIT
  493.     END
  494.     MENUITEM SEPARATOR
  495.     MENUITEM SEPARATOR
  496. END
  497. $$IF(TARGET_MAC)
  498. #endif
  499. $$ENDIF //TARGET_MAC
  500. $$ENDIF//CONTAINER || CONTAINER_SERVER
  501.  
  502. $$IF(MINI_SERVER || FULL_SERVER || CONTAINER_SERVER)
  503. $$IF(TARGET_MAC)
  504. #if defined(APSTUDIO_INVOKED) || !defined(_MAC)
  505. $$ENDIF //TARGET_MAC
  506. IDR_SRVR_INPLACE MENU PRELOAD DISCARDABLE 
  507. BEGIN
  508.     POPUP "&Edit"
  509.     BEGIN
  510.         MENUITEM "&Undo\tCtrl+Z",               ID_EDIT_UNDO
  511.         MENUITEM SEPARATOR
  512.         MENUITEM "Cu&t\tCtrl+X",                ID_EDIT_CUT
  513.         MENUITEM "&Copy\tCtrl+C",               ID_EDIT_COPY
  514.         MENUITEM "&Paste\tCtrl+V",              ID_EDIT_PASTE
  515. $$IF(CONTAINER || CONTAINER_SERVER)
  516.         MENUITEM "Paste &Special...",           ID_EDIT_PASTE_SPECIAL
  517. $$IF(CRichEditView)
  518.         MENUITEM "Select A&ll\tCtrl+A",         ID_EDIT_SELECT_ALL
  519.         MENUITEM SEPARATOR
  520.         MENUITEM "&Find...\tCtrl+F",            ID_EDIT_FIND
  521.         MENUITEM "F&ind Next\tF3",              ID_EDIT_REPEAT
  522.         MENUITEM "R&eplace\tCtrl+H",            ID_EDIT_REPLACE
  523. $$ENDIF //CRichEditView
  524.         MENUITEM SEPARATOR
  525.         MENUITEM "Insert &New Object...",       ID_OLE_INSERT_NEW
  526.         MENUITEM "Lin&ks...",                   ID_OLE_EDIT_LINKS
  527. $$IF(CRichEditView)
  528.         MENUITEM "Object P&roperties\tAlt+Enter", ID_OLE_EDIT_PROPERTIES
  529. $$ENDIF //CRichEditView
  530.         MENUITEM "<<OLE VERBS GO HERE>>",       ID_OLE_VERB_FIRST
  531. $$ENDIF //CONTAINER || CONTAINER_SERVER
  532.     END
  533. $$IF(CRecordView || CDaoRecordView)
  534.     POPUP "&Record"
  535.     BEGIN
  536.         MENUITEM "&First Record"                ID_RECORD_FIRST
  537.         MENUITEM "&Previous Record"                ID_RECORD_PREV
  538.         MENUITEM "&Next Record"                    ID_RECORD_NEXT
  539.         MENUITEM "&Last Record"                    ID_RECORD_LAST
  540.     END
  541. $$ENDIF //CRecordView || CDaoRecordView
  542. $$IF(TOOLBAR)
  543.     POPUP "&View"
  544.     BEGIN
  545.         MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  546.     END
  547. $$ENDIF //TOOLBAR
  548.     MENUITEM SEPARATOR
  549.     MENUITEM SEPARATOR
  550.     POPUP "&Help"
  551.     BEGIN
  552. $$IF(HELP)
  553.         MENUITEM "&Help Topics",                ID_HELP_FINDER
  554.         MENUITEM SEPARATOR
  555. $$ENDIF //HELP
  556.         MENUITEM "&About $$Root$$...",          ID_APP_ABOUT
  557.     END
  558. END
  559. $$IF(TARGET_MAC)
  560. #endif
  561.  
  562. #if defined(APSTUDIO_INVOKED) || !defined(_MAC)
  563. $$ENDIF //TARGET_MAC
  564. IDR_SRVR_EMBEDDED MENU PRELOAD DISCARDABLE 
  565. BEGIN
  566.     POPUP "&File"
  567.     BEGIN
  568.         MENUITEM "&Update\tCtrl+S",                ID_FILE_UPDATE
  569. $$IF(!MINI_SERVER)
  570.         MENUITEM "Save Copy &As...",            ID_FILE_SAVE_COPY_AS
  571. $$ENDIF        
  572. $$IF(PRINT)
  573.         MENUITEM SEPARATOR
  574.         MENUITEM "&Print...\tCtrl+P",           ID_FILE_PRINT
  575.         MENUITEM "Print Pre&view",              ID_FILE_PRINT_PREVIEW
  576.         MENUITEM "P&rint Setup...",             ID_FILE_PRINT_SETUP
  577. $$ENDIF //PRINT
  578. $$IF(MAPI)
  579.         MENUITEM SEPARATOR
  580.         MENUITEM "Sen&d...",                    ID_FILE_SEND_MAIL
  581. $$ENDIF //MAPI
  582.         MENUITEM SEPARATOR
  583.         MENUITEM "E&xit",                       ID_APP_EXIT
  584.     END
  585.     POPUP "&Edit"
  586.     BEGIN
  587.         MENUITEM "&Undo\tCtrl+Z",               ID_EDIT_UNDO
  588.         MENUITEM SEPARATOR
  589.         MENUITEM "Cu&t\tCtrl+X",                ID_EDIT_CUT
  590.         MENUITEM "&Copy\tCtrl+C",               ID_EDIT_COPY
  591.         MENUITEM "&Paste\tCtrl+V",              ID_EDIT_PASTE
  592. $$IF(CONTAINER || CONTAINER_SERVER)
  593.         MENUITEM "Paste &Special...",           ID_EDIT_PASTE_SPECIAL
  594. $$IF(CRichEditView)
  595.         MENUITEM "Select A&ll\tCtrl+A",         ID_EDIT_SELECT_ALL
  596.         MENUITEM SEPARATOR
  597.         MENUITEM "&Find...\tCtrl+F",            ID_EDIT_FIND
  598.         MENUITEM "F&ind Next\tF3",              ID_EDIT_REPEAT
  599.         MENUITEM "R&eplace\tCtrl+H",            ID_EDIT_REPLACE
  600. $$ENDIF //CRichEditView
  601.         MENUITEM SEPARATOR
  602.         MENUITEM "Insert &New Object...",       ID_OLE_INSERT_NEW
  603.         MENUITEM "Lin&ks...",                   ID_OLE_EDIT_LINKS
  604. $$IF(CRichEditView)
  605.         MENUITEM "Object P&roperties\tAlt+Enter", ID_OLE_EDIT_PROPERTIES
  606. $$ENDIF //CRichEditView
  607.         MENUITEM "<<OLE VERBS GO HERE>>",       ID_OLE_VERB_FIRST
  608. $$ENDIF //CONTAINER || CONTAINER_SERVER
  609.     END
  610. $$IF(CRecordView || CDaoRecordView)
  611.     POPUP "&Record"
  612.     BEGIN
  613.         MENUITEM "&First Record"                ID_RECORD_FIRST
  614.         MENUITEM "&Previous Record"                ID_RECORD_PREV
  615.         MENUITEM "&Next Record"                    ID_RECORD_NEXT
  616.         MENUITEM "&Last Record"                    ID_RECORD_LAST
  617.     END
  618. $$ENDIF //CRecordView || CDaoRecordView
  619. $$IF(TOOLBAR || STATUSBAR || SPLITTER)
  620.     POPUP "&View"
  621.     BEGIN
  622. $$IF(TOOLBAR)
  623.         MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  624. $$ENDIF //TOOLBAR
  625. $$IF(STATUSBAR)
  626.         MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  627. $$ENDIF //STATUSBAR
  628. $$IF(SPLITTER)
  629.         MENUITEM "S&plit",                      ID_WINDOW_SPLIT
  630. $$ENDIF //SPLITTER
  631.     END
  632. $$ENDIF //TOOLBAR || STATUSBAR
  633.     POPUP "&Help"
  634.     BEGIN
  635. $$IF(HELP)
  636.         MENUITEM "&Help Topics",                ID_HELP_FINDER
  637.         MENUITEM SEPARATOR
  638. $$ENDIF //HELP
  639.         MENUITEM "&About $$Root$$...",          ID_APP_ABOUT
  640.     END
  641. END
  642. $$IF(TARGET_MAC)
  643. #endif
  644. $$ENDIF //TARGET_MAC
  645. $$ENDIF(MINI_SERVER || FULL_SERVER || CONTAINER_SERVER)
  646. $$ENDIF //SDI
  647.  
  648. /////////////////////////////////////////////////////////////////////////////
  649. //
  650. // Accelerator
  651. //
  652.  
  653. $$IF(!MINI_SERVER)
  654. $$IF(TARGET_MAC)
  655. #if defined(APSTUDIO_INVOKED) || !defined(_MAC)
  656. $$ENDIF //TARGET_MAC
  657. IDR_MAINFRAME ACCELERATORS PRELOAD MOVEABLE PURE
  658. BEGIN
  659. $$IF(!DB_NO_FILE)
  660.     "N",            ID_FILE_NEW,            VIRTKEY,CONTROL
  661.     "O",            ID_FILE_OPEN,           VIRTKEY,CONTROL
  662.     "S",            ID_FILE_SAVE,           VIRTKEY,CONTROL
  663. $$ENDIF //!DB_NO_FILE
  664. $$IF(PRINT)
  665.     "P",            ID_FILE_PRINT,          VIRTKEY,CONTROL
  666. $$ENDIF //PRINT
  667.     "Z",            ID_EDIT_UNDO,           VIRTKEY,CONTROL
  668.     "X",            ID_EDIT_CUT,            VIRTKEY,CONTROL
  669.     "C",            ID_EDIT_COPY,           VIRTKEY,CONTROL
  670.     "V",            ID_EDIT_PASTE,          VIRTKEY,CONTROL
  671. $$IF(CRichEditView)
  672.     "A",            ID_EDIT_SELECT_ALL,     VIRTKEY,CONTROL
  673.     "F",            ID_EDIT_FIND,           VIRTKEY,CONTROL
  674.     VK_F3,          ID_EDIT_REPEAT,         VIRTKEY
  675.     "H",            ID_EDIT_REPLACE,        VIRTKEY,CONTROL
  676.     VK_RETURN,      ID_OLE_EDIT_PROPERTIES, VIRTKEY,ALT,NOINVERT
  677. $$ENDIF //CRichEditView
  678.     VK_BACK,        ID_EDIT_UNDO,           VIRTKEY,ALT
  679.     VK_DELETE,      ID_EDIT_CUT,            VIRTKEY,SHIFT
  680.     VK_INSERT,      ID_EDIT_COPY,           VIRTKEY,CONTROL
  681.     VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY,SHIFT
  682.     VK_F6,          ID_NEXT_PANE,           VIRTKEY 
  683.     VK_F6,          ID_PREV_PANE,           VIRTKEY,SHIFT
  684. $$IF(HELP)
  685.     VK_F1,          ID_CONTEXT_HELP,        VIRTKEY,SHIFT
  686.     VK_F1,          ID_HELP,                VIRTKEY
  687. $$ENDIF //HELP
  688. $$IF(CONTAINER || CONTAINER_SERVER)
  689.     VK_ESCAPE,      ID_CANCEL_EDIT_CNTR,       VIRTKEY,NOINVERT
  690. $$ENDIF
  691. END
  692. $$IF(TARGET_MAC)
  693. #endif
  694. $$ENDIF //TARGET_MAC
  695. $$ENDIF
  696.  
  697. $$IF(PROJTYPE_MDI)
  698. $$IF(CONTAINER || CONTAINER_SERVER)
  699. $$IF(TARGET_MAC)
  700. #if defined(APSTUDIO_INVOKED) || !defined(_MAC)
  701. $$ENDIF //TARGET_MAC
  702. IDR_$$DOC$$TYPE_CNTR_IP ACCELERATORS PRELOAD MOVEABLE 
  703. BEGIN
  704.     "N",            ID_FILE_NEW,            VIRTKEY,CONTROL
  705.     "O",            ID_FILE_OPEN,           VIRTKEY,CONTROL
  706.     "S",            ID_FILE_SAVE,           VIRTKEY,CONTROL
  707. $$IF(PRINT)
  708.     "P",            ID_FILE_PRINT,          VIRTKEY,CONTROL
  709. $$ENDIF //PRINT
  710.     VK_F6,          ID_NEXT_PANE,           VIRTKEY 
  711.     VK_F6,          ID_PREV_PANE,           VIRTKEY,SHIFT
  712. $$IF(HELP)
  713.     VK_F1,          ID_CONTEXT_HELP,        VIRTKEY,SHIFT
  714.     VK_F1,          ID_HELP,                VIRTKEY
  715. $$ENDIF //HELP
  716. $$IF(CONTAINER || CONTAINER_SERVER)
  717.     VK_ESCAPE,      ID_CANCEL_EDIT_CNTR,       VIRTKEY,NOINVERT
  718. $$ENDIF    
  719. END
  720. $$IF(TARGET_MAC)
  721. #endif
  722. $$ENDIF //TARGET_MAC
  723. $$ENDIF//CONTAINER || CONTAINER_SERVER
  724.  
  725. $$IF(MINI_SERVER || FULL_SERVER || CONTAINER_SERVER)
  726. $$IF(TARGET_MAC)
  727. #if defined(APSTUDIO_INVOKED) || !defined(_MAC)
  728. $$ENDIF //TARGET_MAC
  729. IDR_$$DOC$$TYPE_SRVR_IP ACCELERATORS PRELOAD MOVEABLE 
  730. BEGIN
  731.     "Z",            ID_EDIT_UNDO,           VIRTKEY,CONTROL
  732.     "X",            ID_EDIT_CUT,            VIRTKEY,CONTROL
  733.     "C",            ID_EDIT_COPY,           VIRTKEY,CONTROL
  734.     "V",            ID_EDIT_PASTE,          VIRTKEY,CONTROL
  735. $$IF(CRichEditView)
  736.     "A",            ID_EDIT_SELECT_ALL,     VIRTKEY,CONTROL
  737.     "F",            ID_EDIT_FIND,           VIRTKEY,CONTROL
  738.     VK_F3,          ID_EDIT_REPEAT,         VIRTKEY
  739.     "H",            ID_EDIT_REPLACE,        VIRTKEY,CONTROL
  740.     VK_RETURN,      ID_OLE_EDIT_PROPERTIES, VIRTKEY,ALT,NOINVERT
  741. $$ENDIF //CRichEditView
  742.     VK_BACK,        ID_EDIT_UNDO,           VIRTKEY,ALT
  743.     VK_DELETE,      ID_EDIT_CUT,            VIRTKEY,SHIFT
  744.     VK_INSERT,      ID_EDIT_COPY,           VIRTKEY,CONTROL
  745.     VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY,SHIFT
  746. $$IF(HELP)
  747.     VK_F1,          ID_CONTEXT_HELP,        VIRTKEY,SHIFT
  748.     VK_F1,          ID_HELP,                VIRTKEY
  749. $$ENDIF //HELP
  750.     VK_ESCAPE,      ID_CANCEL_EDIT_SRVR,       VIRTKEY,NOINVERT
  751. END
  752. $$IF(TARGET_MAC)
  753. #endif
  754.  
  755. #if defined(APSTUDIO_INVOKED) || !defined(_MAC)
  756. $$ENDIF //TARGET_MAC
  757. IDR_$$DOC$$TYPE_SRVR_EMB ACCELERATORS PRELOAD MOVEABLE 
  758. BEGIN
  759.     "N",            ID_FILE_NEW,            VIRTKEY,CONTROL
  760.     "O",            ID_FILE_OPEN,           VIRTKEY,CONTROL
  761.     "S",            ID_FILE_UPDATE,         VIRTKEY,CONTROL
  762. $$IF(PRINT)
  763.     "P",            ID_FILE_PRINT,          VIRTKEY,CONTROL
  764. $$ENDIF //PRINT
  765.     "Z",            ID_EDIT_UNDO,           VIRTKEY,CONTROL
  766.     "X",            ID_EDIT_CUT,            VIRTKEY,CONTROL
  767.     "C",            ID_EDIT_COPY,           VIRTKEY,CONTROL
  768.     "V",            ID_EDIT_PASTE,          VIRTKEY,CONTROL
  769. $$IF(CRichEditView)
  770.     "A",            ID_EDIT_SELECT_ALL,     VIRTKEY,CONTROL
  771.     "F",            ID_EDIT_FIND,           VIRTKEY,CONTROL
  772.     VK_F3,          ID_EDIT_REPEAT,         VIRTKEY
  773.     "H",            ID_EDIT_REPLACE,        VIRTKEY,CONTROL
  774.     VK_RETURN,      ID_OLE_EDIT_PROPERTIES, VIRTKEY,ALT,NOINVERT
  775. $$ENDIF //CRichEditView
  776.     VK_BACK,        ID_EDIT_UNDO,           VIRTKEY,ALT
  777.     VK_DELETE,      ID_EDIT_CUT,            VIRTKEY,SHIFT
  778.     VK_INSERT,      ID_EDIT_COPY,           VIRTKEY,CONTROL
  779.     VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY,SHIFT
  780.     VK_F6,          ID_NEXT_PANE,           VIRTKEY 
  781.     VK_F6,          ID_PREV_PANE,           VIRTKEY,SHIFT
  782. $$IF(HELP)
  783.     VK_F1,          ID_CONTEXT_HELP,        VIRTKEY,SHIFT
  784.     VK_F1,          ID_HELP,                VIRTKEY
  785. $$ENDIF //HELP
  786. $$IF(CONTAINER_SERVER)
  787.     VK_ESCAPE,      ID_CANCEL_EDIT_CNTR,       VIRTKEY,NOINVERT
  788. $$ENDIF    
  789. END
  790. $$IF(TARGET_MAC)
  791. #endif
  792. $$ENDIF //TARGET_MAC
  793. $$ENDIF//MINI_SERVER || FULL_SERVER || CONTAINER_SERVER
  794.  
  795. $$ELSE
  796. $$IF(CONTAINER || CONTAINER_SERVER)
  797. $$IF(TARGET_MAC)
  798. #if defined(APSTUDIO_INVOKED) || !defined(_MAC)
  799. $$ENDIF //TARGET_MAC
  800. IDR_CNTR_INPLACE ACCELERATORS PRELOAD MOVEABLE 
  801. BEGIN
  802.     "N",            ID_FILE_NEW,            VIRTKEY,CONTROL
  803.     "O",            ID_FILE_OPEN,           VIRTKEY,CONTROL
  804.     "S",            ID_FILE_SAVE,           VIRTKEY,CONTROL
  805. $$IF(PRINT)
  806.     "P",            ID_FILE_PRINT,          VIRTKEY,CONTROL
  807. $$ENDIF //PRINT
  808.     VK_F6,          ID_NEXT_PANE,           VIRTKEY 
  809.     VK_F6,          ID_PREV_PANE,           VIRTKEY,SHIFT
  810. $$IF(HELP)
  811.     VK_F1,          ID_CONTEXT_HELP,        VIRTKEY,SHIFT
  812.     VK_F1,          ID_HELP,                VIRTKEY
  813. $$ENDIF //HELP
  814. $$IF(CONTAINER || CONTAINER_SERVER)
  815.     VK_ESCAPE,      ID_CANCEL_EDIT_CNTR,       VIRTKEY,NOINVERT
  816. $$ENDIF    
  817. END
  818. $$IF(TARGET_MAC)
  819. #endif
  820. $$ENDIF //TARGET_MAC
  821. $$ENDIF//CONTAINER || CONTAINER_SERVER
  822.  
  823. $$IF(MINI_SERVER || FULL_SERVER || CONTAINER_SERVER)
  824. $$IF(TARGET_MAC)
  825. #if defined(APSTUDIO_INVOKED) || !defined(_MAC)
  826. $$ENDIF //TARGET_MAC
  827. IDR_SRVR_INPLACE ACCELERATORS PRELOAD MOVEABLE 
  828. BEGIN
  829.     "Z",            ID_EDIT_UNDO,           VIRTKEY,CONTROL
  830.     "X",            ID_EDIT_CUT,            VIRTKEY,CONTROL
  831.     "C",            ID_EDIT_COPY,           VIRTKEY,CONTROL
  832.     "V",            ID_EDIT_PASTE,          VIRTKEY,CONTROL
  833. $$IF(CRichEditView)
  834.     "A",            ID_EDIT_SELECT_ALL,     VIRTKEY,CONTROL
  835.     "F",            ID_EDIT_FIND,           VIRTKEY,CONTROL
  836.     VK_F3,          ID_EDIT_REPEAT,         VIRTKEY
  837.     "H",            ID_EDIT_REPLACE,        VIRTKEY,CONTROL
  838.     VK_RETURN,      ID_OLE_EDIT_PROPERTIES, VIRTKEY,ALT,NOINVERT
  839. $$ENDIF //CRichEditView
  840.     VK_BACK,        ID_EDIT_UNDO,           VIRTKEY,ALT
  841.     VK_DELETE,      ID_EDIT_CUT,            VIRTKEY,SHIFT
  842.     VK_INSERT,      ID_EDIT_COPY,           VIRTKEY,CONTROL
  843.     VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY,SHIFT
  844. $$IF(HELP)
  845.     VK_F1,          ID_CONTEXT_HELP,        VIRTKEY,SHIFT
  846.     VK_F1,          ID_HELP,                VIRTKEY
  847. $$ENDIF //HELP
  848.     VK_ESCAPE,      ID_CANCEL_EDIT_SRVR,       VIRTKEY,NOINVERT
  849. END
  850. $$IF(TARGET_MAC)
  851. #endif
  852.  
  853. #if defined(APSTUDIO_INVOKED) || !defined(_MAC)
  854. $$ENDIF //TARGET_MAC
  855. IDR_SRVR_EMBEDDED ACCELERATORS PRELOAD MOVEABLE 
  856. BEGIN
  857.     "S",            ID_FILE_UPDATE,         VIRTKEY,CONTROL
  858. $$IF(PRINT)
  859.     "P",            ID_FILE_PRINT,          VIRTKEY,CONTROL
  860. $$ENDIF //PRINT
  861.     "Z",            ID_EDIT_UNDO,           VIRTKEY,CONTROL
  862.     "X",            ID_EDIT_CUT,            VIRTKEY,CONTROL
  863.     "C",            ID_EDIT_COPY,           VIRTKEY,CONTROL
  864.     "V",            ID_EDIT_PASTE,          VIRTKEY,CONTROL
  865. $$IF(CRichEditView)
  866.     "A",            ID_EDIT_SELECT_ALL,     VIRTKEY,CONTROL
  867.     "F",            ID_EDIT_FIND,           VIRTKEY,CONTROL
  868.     VK_F3,          ID_EDIT_REPEAT,         VIRTKEY
  869.     "H",            ID_EDIT_REPLACE,        VIRTKEY,CONTROL
  870.     VK_RETURN,      ID_OLE_EDIT_PROPERTIES, VIRTKEY,ALT,NOINVERT
  871. $$ENDIF //CRichEditView
  872.     VK_BACK,        ID_EDIT_UNDO,           VIRTKEY,ALT
  873.     VK_DELETE,      ID_EDIT_CUT,            VIRTKEY,SHIFT
  874.     VK_INSERT,      ID_EDIT_COPY,           VIRTKEY,CONTROL
  875.     VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY,SHIFT
  876.     VK_F6,          ID_NEXT_PANE,           VIRTKEY 
  877.     VK_F6,          ID_PREV_PANE,           VIRTKEY,SHIFT
  878. $$IF(HELP)
  879.     VK_F1,          ID_CONTEXT_HELP,        VIRTKEY,SHIFT
  880.     VK_F1,          ID_HELP,                VIRTKEY
  881. $$ENDIF //HELP
  882. $$IF(CONTAINER_SERVER)
  883.     VK_ESCAPE,      ID_CANCEL_EDIT_CNTR,       VIRTKEY,NOINVERT
  884. $$ENDIF    
  885. END
  886. $$IF(TARGET_MAC)
  887. #endif
  888. $$ENDIF //TARGET_MAC
  889. $$ENDIF//MINI_SERVER || FULL_SERVER || CONTAINER_SERVER
  890.  
  891. $$ENDIF
  892. $$ENDIF //TARGET_WIN32
  893.  
  894. /////////////////////////////////////////////////////////////////////////////
  895. //
  896. // Dialog
  897. //
  898.  
  899. IDD_ABOUTBOX DIALOG DISCARDABLE  0, 0, 217, 55
  900. CAPTION "About $$Root$$"
  901. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  902. FONT 8, "MS Sans Serif"
  903. BEGIN
  904.     ICON            IDR_MAINFRAME,IDC_STATIC,11,17,20,20
  905.     LTEXT           "$$Root$$ Version 1.0",IDC_STATIC,40,10,119,8,
  906.                     SS_NOPREFIX
  907.     LTEXT           "Copyright (C) 19$$YEAR$$",IDC_STATIC,40,25,119,8
  908.     DEFPUSHBUTTON   "OK",IDOK,178,7,32,14,WS_GROUP
  909. END
  910.  
  911. $$IF(CFormView || CRecordView || CDaoRecordView)
  912. IDD_$$SAFE_ROOT$$_FORM    DIALOG DISCARDABLE 0, 0, 185, 93
  913. STYLE WS_CHILD
  914. FONT 8, "MS Sans Serif"
  915. BEGIN
  916.     LTEXT    "TODO: Place form controls on this dialog.",IDC_STATIC,24,42,
  917.         136,8
  918. END
  919. $$ENDIF //CFormView || CRecordView || CDaoRecordView
  920.  
  921. $$IF(INSTALLED_MAC)
  922. #ifndef _MAC
  923. $$ENDIF //INSTALLED_MAC
  924. /////////////////////////////////////////////////////////////////////////////
  925. //
  926. // Version
  927. //
  928.  
  929. VS_VERSION_INFO     VERSIONINFO
  930.   FILEVERSION       1,0,0,1
  931.   PRODUCTVERSION    1,0,0,1
  932.  FILEFLAGSMASK 0x3fL
  933. #ifdef _DEBUG
  934.  FILEFLAGS 0x1L
  935. #else
  936.  FILEFLAGS 0x0L
  937. #endif
  938.  FILEOS 0x4L
  939.  FILETYPE 0x1L
  940.  FILESUBTYPE 0x0L
  941. BEGIN
  942.     BLOCK "StringFileInfo"
  943.     BEGIN
  944.         BLOCK "040904B0"
  945.         BEGIN 
  946.             VALUE "CompanyName",     "\0"
  947.             VALUE "FileDescription", "$$MIXED_CASE_ROOT$$ MFC Application\0"
  948.             VALUE "FileVersion",     "1, 0, 0, 1\0"
  949.             VALUE "InternalName",    "$$MIXED_CASE_ROOT$$\0"
  950.             VALUE "LegalCopyright",  "Copyright (C) 19$$YEAR$$\0"
  951.             VALUE "LegalTrademarks", "\0"
  952.             VALUE "OriginalFilename","$$MIXED_CASE_ROOT$$.EXE\0"
  953.             VALUE "ProductName",     "$$MIXED_CASE_ROOT$$ Application\0"
  954.             VALUE "ProductVersion",  "1, 0, 0, 1\0"
  955.         END
  956.     END
  957.     BLOCK "VarFileInfo" 
  958.     BEGIN 
  959.         VALUE "Translation", 0x409, 1200
  960.     END
  961. END
  962. $$IF(INSTALLED_MAC)
  963.  
  964. #endif    // !_MAC
  965. $$ENDIF //INSTALLED_MAC
  966.  
  967. /////////////////////////////////////////////////////////////////////////////
  968. //
  969. // DESIGNINFO
  970. //
  971.  
  972. #ifdef APSTUDIO_INVOKED
  973. GUIDELINES DESIGNINFO DISCARDABLE 
  974. BEGIN
  975.     IDD_ABOUTBOX, DIALOG
  976.     BEGIN
  977.         LEFTMARGIN, 7
  978.         RIGHTMARGIN, 210
  979.         TOPMARGIN, 7
  980.         BOTTOMMARGIN, 48
  981.     END
  982. $$IF(CFormView || CRecordView || CDaoRecordView)
  983.     IDD_$$SAFE_ROOT$$_FORM, DIALOG
  984.     BEGIN
  985.         LEFTMARGIN, 7
  986.         RIGHTMARGIN, 178
  987.         TOPMARGIN, 7
  988.         BOTTOMMARGIN, 86
  989.     END
  990. $$ENDIF //CFormView || CRecordView || CDaoRecordView
  991. END
  992. #endif    // APSTUDIO_INVOKED
  993.  
  994. /////////////////////////////////////////////////////////////////////////////
  995. //
  996. // String Table
  997. //
  998.  
  999. $$IF(CONTAINER || MINI_SERVER || FULL_SERVER || CONTAINER_SERVER || AUTOMATION || CRecordView || CDaoRecordView || SOCKETS)
  1000. STRINGTABLE DISCARDABLE 
  1001. BEGIN
  1002. $$IF(CONTAINER || MINI_SERVER || FULL_SERVER || CONTAINER_SERVER || AUTOMATION)
  1003.     IDP_OLE_INIT_FAILED       "OLE initialization failed.  Make sure that the OLE libraries are the correct version."
  1004. $$ENDIF //CONTAINER || MINI_SERVER || FULL_SERVER || CONTAINER_SERVER || AUTOMATION
  1005. $$IF(MINI_SERVER)
  1006.     IDP_USE_INSERT_OBJECT    "This server can only be run from a container application."
  1007. $$ENDIF
  1008. $$IF(CONTAINER || CONTAINER_SERVER)
  1009.     IDP_FAILED_TO_CREATE    "Failed to create object.  Make sure the object is entered in the system registry."
  1010. $$ENDIF
  1011. $$IF(CRecordView || CDaoRecordView)
  1012.     IDP_FAILED_OPEN_DATABASE    "Cannot open database."
  1013. $$ENDIF
  1014. $$IF(SOCKETS)
  1015.     IDP_SOCKETS_INIT_FAILED    "Windows sockets initialization failed."
  1016. $$ENDIF //SOCKETS
  1017. END
  1018. $$ENDIF//CONTAINER || MINI_SERVER || FULL_SERVER || CONTAINER_SERVER || CRecordView || CDaoRecordView || SOCKETS
  1019. STRINGTABLE PRELOAD DISCARDABLE 
  1020. BEGIN
  1021. $$// Mac-targeting apps have two extra substrings at the end
  1022. $$IF(TARGET_MAC)
  1023. $$IF(PROJTYPE_MDI)
  1024.     IDR_MAINFRAME           "$$TITLE$$"
  1025. $$IF(HAS_SUFFIX)  // has a file suffix - shell file type too
  1026.     IDR_$$DOC$$TYPE         "\n$$Doc$$\n$$DOC_FILENEW$$\n$$DOC_FILTER$$\n$$SUFFIX$$\n$$DOC_REGID$$\n$$DOC_REGNAME$$\n$$FILE_TYPE$$\n$$MAC_FILTER$$"
  1027. $$ELSE //!HAS_SUFFIX
  1028.     IDR_$$DOC$$TYPE         "\n$$Doc$$\n$$DOC_FILENEW$$\n\n\n$$DOC_REGID$$\n$$DOC_REGNAME$$\n$$FILE_TYPE$$\n$$MAC_FILTER$$"
  1029. $$ENDIF //!SUFFIX
  1030. $$ELSE // SDI
  1031. $$IF(HAS_SUFFIX)  // has a file suffix
  1032.     IDR_MAINFRAME           "$$TITLE$$\n\n$$DOC_FILENEW$$\n$$DOC_FILTER$$\n$$SUFFIX$$\n$$DOC_REGID$$\n$$DOC_REGNAME$$\n$$FILE_TYPE$$\n$$MAC_FILTER$$"
  1033. $$ELSE //!HAS_SUFFIX
  1034.     IDR_MAINFRAME           "$$TITLE$$\n\n$$DOC_FILENEW$$\n\n\n$$DOC_REGID$$\n$$DOC_REGNAME$$\n$$FILE_TYPE$$\n$$MAC_FILTER$$"
  1035. $$ENDIF //HAS_SUFFIX
  1036. $$ENDIF //SDI
  1037. $$ELSE //!TARGET_MAC
  1038. $$// Non-mac-targeting apps remove the two extra substrings
  1039. $$IF(PROJTYPE_MDI)
  1040.     IDR_MAINFRAME           "$$TITLE$$"
  1041. $$IF(HAS_SUFFIX)  // has a file suffix - shell file type too
  1042.     IDR_$$DOC$$TYPE         "\n$$Doc$$\n$$DOC_FILENEW$$\n$$DOC_FILTER$$\n$$SUFFIX$$\n$$DOC_REGID$$\n$$DOC_REGNAME$$"
  1043. $$ELSE //!HAS_SUFFIX
  1044.     IDR_$$DOC$$TYPE         "\n$$Doc$$\n$$DOC_FILENEW$$\n\n\n$$DOC_REGID$$\n$$DOC_REGNAME$$"
  1045. $$ENDIF //!SUFFIX
  1046. $$ELSE // SDI
  1047. $$IF(HAS_SUFFIX)  // has a file suffix
  1048.     IDR_MAINFRAME           "$$TITLE$$\n\n$$DOC_FILENEW$$\n$$DOC_FILTER$$\n$$SUFFIX$$\n$$DOC_REGID$$\n$$DOC_REGNAME$$"
  1049. $$ELSE //!HAS_SUFFIX
  1050.     IDR_MAINFRAME           "$$TITLE$$\n\n$$DOC_FILENEW$$\n\n\n$$DOC_REGID$$\n$$DOC_REGNAME$$"
  1051. $$ENDIF //HAS_SUFFIX
  1052. $$ENDIF //SDI
  1053. $$ENDIF //TARGET_MAC
  1054. END
  1055. STRINGTABLE PRELOAD DISCARDABLE 
  1056. BEGIN
  1057.     AFX_IDS_APP_TITLE       "$$Root$$"
  1058. $$IF(HELP)
  1059.     AFX_IDS_IDLEMESSAGE     "For Help, press F1"
  1060.     AFX_IDS_HELPMODEMESSAGE "Select an object on which to get Help"
  1061. $$ELSE
  1062.     AFX_IDS_IDLEMESSAGE     "Ready"
  1063. $$ENDIF //!HELP
  1064. END
  1065. STRINGTABLE DISCARDABLE 
  1066. BEGIN
  1067.     ID_INDICATOR_EXT        "EXT"
  1068.     ID_INDICATOR_CAPS       "CAP"
  1069.     ID_INDICATOR_NUM        "NUM"
  1070.     ID_INDICATOR_SCRL       "SCRL"
  1071.     ID_INDICATOR_OVR        "OVR"
  1072.     ID_INDICATOR_REC        "REC"
  1073. $$IF(DO_KANA)
  1074.     ID_INDICATOR_KANA        "KANA"
  1075. $$ENDIF    // DO_KANA
  1076. END
  1077. STRINGTABLE DISCARDABLE 
  1078. BEGIN
  1079. $$IF(!DB_NO_FILE)
  1080.     ID_FILE_NEW             "Create a new document\nNew"
  1081.     ID_FILE_OPEN            "Open an existing document\nOpen"
  1082.     ID_FILE_CLOSE           "Close the active document\nClose"
  1083.     ID_FILE_SAVE            "Save the active document\nSave"
  1084.     ID_FILE_SAVE_AS         "Save the active document with a new name\nSave As"
  1085. $$ENDIF //!DB_NO_FILE
  1086. $$IF(MINI_SERVER || FULL_SERVER || CONTAINER_SERVER)
  1087.     ID_FILE_UPDATE            "Update the container to show any changes\nUpdate"
  1088.     ID_FILE_SAVE_COPY_AS    "Save a copy of the active document with a new name\nSave Copy"
  1089. $$ENDIF //SERVERS
  1090. $$IF(PRINT)
  1091.     ID_FILE_PAGE_SETUP      "Change the printing options\nPage Setup"
  1092.     ID_FILE_PRINT_SETUP     "Change the printer and printing options\nPrint Setup"
  1093.     ID_FILE_PRINT           "Print the active document\nPrint"
  1094.     ID_FILE_PRINT_PREVIEW   "Display full pages\nPrint Preview"
  1095. $$ENDIF //PRINT
  1096. $$IF(MAPI)
  1097.     ID_FILE_SEND_MAIL        "Send the active document through electronic mail\nSend Mail"
  1098. $$ENDIF //MAPI
  1099.     ID_APP_ABOUT            "Display program information, version number and copyright\nAbout"
  1100.     ID_APP_EXIT             "Quit the application; prompts to save documents\nExit"
  1101. $$IF(HELP)
  1102.     ID_CONTEXT_HELP         "Display help for clicked on buttons, menus and windows\nHelp"
  1103.     ID_HELP_INDEX           "Opens Help\nHelp Topics"
  1104.     ID_HELP_FINDER            "List Help topics\nHelp Topics"
  1105.     ID_HELP_USING           "Display instructions about how to use help\nHelp"
  1106.     ID_HELP                 "Display help for current task or command\nHelp"
  1107. $$ENDIF //HELP
  1108.     ID_FILE_MRU_FILE1       "Open this document"
  1109.     ID_FILE_MRU_FILE2       "Open this document"
  1110.     ID_FILE_MRU_FILE3       "Open this document"
  1111.     ID_FILE_MRU_FILE4       "Open this document"
  1112.     ID_FILE_MRU_FILE5       "Open this document"
  1113.     ID_FILE_MRU_FILE6       "Open this document"
  1114.     ID_FILE_MRU_FILE7       "Open this document"
  1115.     ID_FILE_MRU_FILE8       "Open this document"
  1116.     ID_FILE_MRU_FILE9       "Open this document"
  1117.     ID_FILE_MRU_FILE10      "Open this document"
  1118.     ID_FILE_MRU_FILE11      "Open this document"
  1119.     ID_FILE_MRU_FILE12      "Open this document"
  1120.     ID_FILE_MRU_FILE13      "Open this document"
  1121.     ID_FILE_MRU_FILE14      "Open this document"
  1122.     ID_FILE_MRU_FILE15      "Open this document"
  1123.     ID_FILE_MRU_FILE16      "Open this document"
  1124.     ID_NEXT_PANE            "Switch to the next window pane\nNext Pane"
  1125.     ID_PREV_PANE            "Switch back to the previous window pane\nPrevious Pane"
  1126. $$IF(PROJTYPE_MDI)
  1127.     ID_WINDOW_NEW           "Open another window for the active document\nNew Window"
  1128.     ID_WINDOW_ARRANGE       "Arrange icons at the bottom of the window\nArrange Icons"
  1129.     ID_WINDOW_CASCADE       "Arrange windows so they overlap\nCascade Windows"
  1130.     ID_WINDOW_TILE_HORZ     "Arrange windows as non-overlapping tiles\nTile Windows"
  1131.     ID_WINDOW_TILE_VERT     "Arrange windows as non-overlapping tiles\nTile Windows"
  1132. $$ENDIF //MDI
  1133.     ID_WINDOW_SPLIT         "Split the active window into panes\nSplit"
  1134.     ID_EDIT_CLEAR           "Erase the selection\nErase"
  1135.     ID_EDIT_CLEAR_ALL       "Erase everything\nErase All"
  1136.     ID_EDIT_COPY            "Copy the selection and put it on the Clipboard\nCopy"
  1137.     ID_EDIT_CUT             "Cut the selection and put it on the Clipboard\nCut"
  1138.     ID_EDIT_FIND            "Find the specified text\nFind"
  1139.     ID_EDIT_PASTE           "Insert Clipboard contents\nPaste"
  1140.     ID_EDIT_REPEAT          "Repeat the last action\nRepeat"
  1141.     ID_EDIT_REPLACE         "Replace specific text with different text\nReplace"
  1142.     ID_EDIT_SELECT_ALL      "Select the entire document\nSelect All"
  1143.     ID_EDIT_UNDO            "Undo the last action\nUndo"
  1144.     ID_EDIT_REDO            "Redo the previously undone action\nRedo"
  1145. $$IF(TOOLBAR)
  1146.     ID_VIEW_TOOLBAR         "Show or hide the toolbar\nToggle ToolBar"
  1147. $$ENDIF //TOOLBAR
  1148. $$IF(STATUSBAR)
  1149.     ID_VIEW_STATUS_BAR      "Show or hide the status bar\nToggle StatusBar"
  1150. $$ENDIF //STATUSBAR
  1151. $$IF(CONTAINER || CONTAINER_SERVER)
  1152.     ID_EDIT_PASTE_LINK      "Insert Clipboard contents and a link to its source\nPaste Link"
  1153.     ID_EDIT_PASTE_SPECIAL    "Insert Clipboard contents with options\nPaste Special"
  1154.     ID_OLE_INSERT_NEW       "Insert new embedded object\nNew Object"
  1155.     ID_OLE_EDIT_LINKS       "Edit linked objects\nEdit Links"
  1156.     ID_OLE_VERB_FIRST       "Activate embedded or linked object"
  1157.     57873                    "Activate embedded or linked object"
  1158.     57874                    "Activate embedded or linked object"
  1159.     57875                    "Activate embedded or linked object"
  1160.     ID_OLE_EDIT_CONVERT        "Convert object to different type\nConvert Object"
  1161. $$ENDIF //CONTAINER || CONTAINER_SERVER
  1162. $$IF(CRecordView || CDaoRecordView)
  1163.     ID_RECORD_NEXT            "Move to next record\nNext Record"
  1164.     ID_RECORD_PREV            "Move to previous record\nPrevious Record"
  1165.     ID_RECORD_LAST            "Move to final record\nLast Record"
  1166.     ID_RECORD_FIRST            "Move to first record\nFirst Record"
  1167. $$ENDIF
  1168. END
  1169.  
  1170. STRINGTABLE DISCARDABLE 
  1171. BEGIN
  1172.     AFX_IDS_SCSIZE          "Change the window size"
  1173.     AFX_IDS_SCMOVE          "Change the window position"
  1174.     AFX_IDS_SCMINIMIZE      "Reduce the window to an icon"
  1175.     AFX_IDS_SCMAXIMIZE      "Enlarge the window to full size"
  1176.     AFX_IDS_SCNEXTWINDOW    "Switch to the next document window"
  1177.     AFX_IDS_SCPREVWINDOW    "Switch to the previous document window"
  1178.     AFX_IDS_SCCLOSE         "Close the active window and prompts to save the documents"
  1179.     AFX_IDS_SCRESTORE       "Restore the window to normal size"
  1180.     AFX_IDS_SCTASKLIST      "Activate Task List"
  1181. $$IF(PROJTYPE_MDI)
  1182.     AFX_IDS_MDICHILD        "Activate this window"
  1183. $$ENDIF //MDI
  1184. $$IF(PRINT)
  1185.     AFX_IDS_PREVIEW_CLOSE   "Close print preview mode\nCancel Preview"
  1186. $$ENDIF //PRINT
  1187. $$IF(INSTALLED_MAC)
  1188.     AFX_IDS_DESKACCESSORY    "Opens the selected item"
  1189. $$ENDIF
  1190. END
  1191.  
  1192.