home *** CD-ROM | disk | FTP | other *** search
/ QBasic & Borland Pascal & C / Delphi5.iso / C / BC_502 / APXOLE.PAK / APXOLAPP.RC < prev    next >
Encoding:
Text File  |  1997-05-06  |  19.5 KB  |  637 lines

  1. //----------------------------------------------------------------------------
  2. //  Project ApxOle
  3. //  Borland International
  4. //  Copyright ⌐ 1996. All Rights Reserved.
  5. //
  6. //  SUBSYSTEM:  ApxOle Application
  7. //  FILE:     apxolapp.rc
  8. //  AUTHOR:
  9. //
  10. //  OVERVIEW
  11. //  ~~~~~~~~
  12. //  All resources defined here.
  13. //
  14. //----------------------------------------------------------------------------
  15.  
  16. #if !defined(WORKSHOP_INVOKED)
  17. # include <windows.h>
  18. #endif
  19. #include "apxolapp.rh"
  20.  
  21.  
  22. IDM_MDI MENU
  23. BEGIN
  24.   POPUP "&File"
  25.   BEGIN
  26.     MENUITEM "&New", CM_MDIFILENEW
  27.     MENUITEM "&Open...", CM_MDIFILEOPEN
  28.     MENUITEM "&Close", CM_FILECLOSE
  29.     MENUITEM SEPARATOR
  30.     MENUITEM "&Save", CM_FILESAVE, GRAYED
  31.     MENUITEM "Save &As...", CM_FILESAVEAS, GRAYED
  32.     MENUITEM SEPARATOR
  33.     MENUITEM "Print Pre&view...", CM_FILEPRINTPREVIEW, GRAYED
  34.     MENUITEM "&Print...", CM_FILEPRINT, GRAYED
  35.     MENUITEM "P&rint Setup...", CM_FILEPRINTERSETUP, GRAYED
  36.     MENUITEM SEPARATOR
  37.     MENUITEM "Sen&d...", CM_FILESEND, GRAYED
  38.     MENUITEM SEPARATOR
  39.     MENUITEM "E&xit\tAlt+F4", CM_EXIT
  40.   END
  41.  
  42.   MENUITEM SEPARATOR
  43.  
  44.   POPUP "&Edit"
  45.   BEGIN
  46.     MENUITEM "&Undo\tAlt+BkSp", CM_EDITUNDO, GRAYED
  47.     MENUITEM SEPARATOR
  48.     MENUITEM "Cu&t\tShift+Del", CM_EDITCUT, GRAYED
  49.     MENUITEM "&Copy\tCtrl+Ins", CM_EDITCOPY, GRAYED
  50.     MENUITEM "&Paste\tShift+Ins", CM_EDITPASTE, GRAYED
  51.     MENUITEM "Paste &Special...", CM_EDITPASTESPECIAL, GRAYED
  52.     MENUITEM "Paste &Link", CM_EDITPASTELINK, GRAYED
  53.     MENUITEM SEPARATOR
  54.     MENUITEM "Clear &All\tCtrl+Del", CM_EDITCLEAR, GRAYED
  55.     MENUITEM "&Delete\tDel", CM_EDITDELETE, GRAYED
  56.     MENUITEM SEPARATOR
  57.     MENUITEM "Insert &Object...", CM_EDITINSERTOBJECT, GRAYED
  58.     MENUITEM "Insert Co&ntrol...", CM_EDITINSERTCONTROL, GRAYED
  59.     MENUITEM "&Links...", CM_EDITLINKS, GRAYED
  60.     MENUITEM "&Object", CM_EDITOBJECT, GRAYED
  61.     MENUITEM SEPARATOR
  62.     MENUITEM "&Show Objects", CM_EDITSHOWOBJECTS
  63.   END
  64.  
  65.   POPUP "&Search"
  66.   BEGIN
  67.     MENUITEM "&Find...", CM_EDITFIND, GRAYED
  68.     MENUITEM "&Replace...", CM_EDITREPLACE, GRAYED
  69.     MENUITEM "&Next\aF3", CM_EDITFINDNEXT, GRAYED
  70.   END
  71.  
  72.   MENUITEM SEPARATOR
  73.  
  74.   MENUITEM SEPARATOR
  75.  
  76.   MENUITEM SEPARATOR
  77.  
  78.   POPUP "&Window"
  79.   BEGIN
  80.     MENUITEM "&Cascade", CM_CASCADECHILDREN
  81.     MENUITEM "&Tile", CM_TILECHILDREN
  82.     MENUITEM "Arrange &Icons", CM_ARRANGEICONS
  83.     MENUITEM "C&lose All", CM_CLOSECHILDREN
  84.   END
  85.  
  86.   MENUITEM SEPARATOR
  87.  
  88.   POPUP "&Help"
  89.   BEGIN
  90.     MENUITEM "&About...", CM_HELPABOUT
  91.   END
  92.  
  93. END
  94.  
  95.  
  96. // Accelerator table for short-cut to menu commands. (include/owl/editfile.rc)
  97. //
  98. IDM_MDI ACCELERATORS
  99. BEGIN
  100.   VK_DELETE, CM_EDITCUT, VIRTKEY, SHIFT
  101.   VK_INSERT, CM_EDITCOPY, VIRTKEY, CONTROL
  102.   VK_INSERT, CM_EDITPASTE, VIRTKEY, SHIFT
  103.   VK_DELETE, CM_EDITCLEAR, VIRTKEY, CONTROL
  104.   VK_BACK,   CM_EDITUNDO, VIRTKEY, ALT
  105.   VK_F3,     CM_EDITFINDNEXT, VIRTKEY
  106. END
  107.  
  108.  
  109. // Accelerator table for Print Preview window.
  110. //
  111. IDM_PRINTPREVIEW ACCELERATORS
  112. BEGIN
  113.   VK_ESCAPE, APX_PPR_DONE, VIRTKEY
  114.   "c",       APX_PPR_DONE, ALT
  115. END
  116.  
  117.  
  118.  
  119. // Menu merged in when TEditView is active, notice the extra MENUITEM SEPARATORs which are
  120. // for menu negotation.  These separators are used as group markers by OWL.
  121. //
  122. IDM_EDITVIEW MENU LOADONCALL MOVEABLE PURE DISCARDABLE
  123. BEGIN
  124.   MENUITEM SEPARATOR
  125.  
  126.   POPUP "&Edit"
  127.   BEGIN
  128.     MENUITEM "&Undo\aCtrl+Z", CM_EDITUNDO
  129.     MENUITEM SEPARATOR
  130.     MENUITEM "&Cut\aCtrl+X", CM_EDITCUT
  131.     MENUITEM "C&opy\aCtrl+C", CM_EDITCOPY
  132.     MENUITEM "&Paste\aCtrl+V", CM_EDITPASTE
  133.     MENUITEM "&Delete\aDel", CM_EDITDELETE
  134.     MENUITEM "C&lear All\aCtrl+Del", CM_EDITCLEAR
  135.   END
  136.  
  137.   POPUP "&Search"
  138.   BEGIN
  139.     MENUITEM "&Find...", CM_EDITFIND
  140.     MENUITEM "&Replace...", CM_EDITREPLACE
  141.     MENUITEM "&Next\aF3", CM_EDITFINDNEXT
  142.   END
  143.  
  144.   MENUITEM SEPARATOR
  145.  
  146.   MENUITEM SEPARATOR
  147.  
  148.   MENUITEM SEPARATOR
  149.  
  150.   MENUITEM SEPARATOR
  151. END
  152.  
  153.  
  154. // Menu merged in when TListView is active, notice the extra MENUITEM SEPARATORs which are
  155. // for menu negotation.  These separators are used as group markers by OWL.
  156. //
  157. IDM_LISTVIEW MENU LOADONCALL MOVEABLE PURE DISCARDABLE
  158. BEGIN
  159.   MENUITEM SEPARATOR
  160.  
  161.   POPUP "&Edit"
  162.   BEGIN
  163.     MENUITEM "&Undo\aCtrl+Z", CM_EDITUNDO
  164.     MENUITEM SEPARATOR
  165.     MENUITEM "&Cut\aCtrl+X", CM_EDITCUT
  166.     MENUITEM "C&opy\aCtrl+C", CM_EDITCOPY
  167.     MENUITEM "&Paste\aCtrl+V", CM_EDITPASTE
  168.     MENUITEM "&Delete\aDel", CM_EDITDELETE
  169.     MENUITEM "&Add Item\aIns", CM_EDITADD
  170.     MENUITEM "&Edit Item\aEnter", CM_EDITEDIT
  171.     MENUITEM "C&lear All\aCtrl+Del", CM_EDITCLEAR
  172.   END
  173.  
  174.   MENUITEM SEPARATOR
  175.  
  176.   MENUITEM SEPARATOR
  177.  
  178.   MENUITEM SEPARATOR
  179.  
  180.   MENUITEM SEPARATOR
  181. END
  182.  
  183.  
  184. IDM_DOCMANAGERFILE MENU LOADONCALL MOVEABLE PURE DISCARDABLE
  185. BEGIN
  186.   MENUITEM "&New", CM_MDIFILENEW
  187.   MENUITEM "&Open...", CM_MDIFILEOPEN
  188.   MENUITEM "&Close", CM_FILECLOSE
  189.   MENUITEM SEPARATOR
  190.   MENUITEM "&Save", CM_FILESAVE, GRAYED
  191.   MENUITEM "Save &As...", CM_FILESAVEAS, GRAYED
  192.   MENUITEM SEPARATOR
  193.   MENUITEM "Print Pre&view...", CM_FILEPRINTPREVIEW, GRAYED
  194.   MENUITEM "&Print...", CM_FILEPRINT, GRAYED
  195.   MENUITEM "P&rint Setup...", CM_FILEPRINTERSETUP, GRAYED
  196.   MENUITEM SEPARATOR
  197.   MENUITEM "E&xit\tAlt+F4", CM_EXIT
  198. END
  199.  
  200.  
  201. // Menu merged in when TOleView is active, notice the extra MENUITEM SEPARATORs which are
  202. // for menu negotation.  These separators are used as group markers by OWL.
  203. //
  204. IDM_OLEVIEW MENU LOADONCALL MOVEABLE PURE DISCARDABLE
  205. BEGIN
  206.   MENUITEM SEPARATOR
  207.  
  208.   POPUP "&Edit"
  209.   BEGIN
  210.     MENUITEM "&Undo\aCtrl+Z", CM_EDITUNDO
  211.     MENUITEM SEPARATOR
  212.     MENUITEM "&Cut\aCtrl+X", CM_EDITCUT
  213.     MENUITEM "C&opy\aCtrl+C", CM_EDITCOPY
  214.     MENUITEM "&Paste\aCtrl+V", CM_EDITPASTE
  215.     MENUITEM "Paste &Special...", CM_EDITPASTESPECIAL
  216.     MENUITEM "Paste &Link", CM_EDITPASTELINK
  217.     MENUITEM "&Delete\aDel", CM_EDITDELETE
  218.     MENUITEM SEPARATOR
  219.     MENUITEM "Insert &Object...", CM_EDITINSERTOBJECT
  220.     MENUITEM "Insert Co&ntrol...", CM_EDITINSERTCONTROL
  221.     MENUITEM "&Links...", CM_EDITLINKS
  222.     MENUITEM "&Object", CM_EDITOBJECT
  223.     MENUITEM SEPARATOR
  224.     MENUITEM "&Show Objects", CM_EDITSHOWOBJECTS
  225.   END
  226.  
  227.   MENUITEM SEPARATOR
  228.  
  229.   MENUITEM SEPARATOR
  230.  
  231.   MENUITEM SEPARATOR
  232.  
  233.   MENUITEM SEPARATOR
  234.  
  235.   POPUP "&Help"
  236.   BEGIN
  237.     MENUITEM "&About...", CM_HELPABOUT
  238.   END
  239. END
  240.  
  241. IDM_OLEPOPUP MENU LOADONCALL MOVEABLE PURE DISCARDABLE
  242. BEGIN
  243.   POPUP "OLE"
  244.   BEGIN
  245.     MENUITEM "&Cut\aCtrl+X", CM_EDITCUT
  246.     MENUITEM "C&opy\aCtrl+C", CM_EDITCOPY
  247.     MENUITEM "&Delete\aDel", CM_EDITDELETE
  248.     MENUITEM SEPARATOR
  249.     MENUITEM "&Object", CM_EDITOBJECT
  250.   END
  251. END
  252.  
  253.  
  254. // Table of help hints displayed in the status bar.
  255. //
  256. STRINGTABLE
  257. BEGIN
  258.   -1,                   "File/document operations"
  259.   CM_MDIFILENEW,        "Creates a new document"
  260.   CM_MDIFILEOPEN,       "Opens an existing document"
  261.   CM_VIEWCREATE,        "Creates a new view for this document"
  262.   CM_FILEREVERT,        "Reverts changes to last document save"
  263.   CM_FILECLOSE,         "Closes the active document"
  264.   CM_FILESAVE,          "Saves the active document"
  265.   CM_FILESAVEAS,        "Saves the active document with a new name"
  266.   CM_FILEPRINT,         "Prints the active document"
  267.   CM_FILEPRINTERSETUP,  "Sets print characteristics for the active document"
  268.   CM_FILEPRINTPREVIEW,  "Displays full pages as read-only"
  269.   CM_FILESEND,          "Sends the active document using electronic mail"
  270.   CM_EXIT,              "Quits ApxOle and prompts to save the documents"
  271.   CM_EDITUNDO-1,        "Edit operations"
  272.   CM_EDITUNDO,          "Reverses the last operation"
  273.   CM_EDITCUT,           "Cuts the selection and puts it on the Clipboard"
  274.   CM_EDITCOPY,          "Copies the selection and puts it on the Clipboard"
  275.   CM_EDITPASTE,         "Inserts the Clipboard contents at the insertion point"
  276.   CM_EDITPASTESPECIAL,  "Selects paste option and format"
  277.   CM_EDITPASTELINK,     "Links with object on the clipboard"
  278.   CM_EDITDELETE,        "Deletes the selection"
  279.   CM_EDITCLEAR,         "Clears the active document"
  280.   CM_EDITLINKS,         "Edits linked object"
  281.   CM_EDITINSERTOBJECT,  "Inserts an object into the document"
  282.   CM_EDITINSERTCONTROL, "Inserts an OLE control into the document"
  283.   CM_EDITOBJECT,        "Asks the selected object to perform an action"
  284.   CM_EDITSHOWOBJECTS,   "Highlights embedded objects"
  285.   CM_EDITADD,           "Inserts a new line"
  286.   CM_EDITEDIT,          "Edits the current line"
  287.   CM_EDITFIND-1,        "Search/replace operations"
  288.   CM_EDITFIND,          "Finds the specified text"
  289.   CM_EDITREPLACE,       "Finds the specified text and changes it"
  290.   CM_EDITFINDNEXT,      "Finds the next match"
  291.   CM_CASCADECHILDREN-1, "Window arrangement and selection"
  292.   CM_CASCADECHILDREN,   "Cascades open windows"
  293.   CM_TILECHILDREN,      "Tiles open windows"
  294.   CM_ARRANGEICONS,      "Arranges iconic windows along bottom"
  295.   CM_CLOSECHILDREN,     "Closes all open windows"
  296.   CM_HELPABOUT-1,       "Access About"
  297.   CM_HELPABOUT,         "About the ApxOle application"
  298. END
  299.  
  300.  
  301. //
  302. // OWL string table
  303. //
  304.  
  305. // EditFile (include/owl/editfile.rc and include/owl/editsear.rc)
  306. //
  307. STRINGTABLE LOADONCALL MOVEABLE DISCARDABLE
  308. BEGIN
  309.   IDS_CANNOTFIND,       "Cannot find ""%s""."
  310.   IDS_UNABLEREAD,       "Unable to read file %s from disk."
  311.   IDS_UNABLEWRITE,      "Unable to write file %s to disk."
  312.   IDS_FILECHANGED,      "The text in the %s file has changed.\n\nDo you want to save the changes?"
  313.   IDS_FILEFILTER,       "Text files|*.txt|AllFiles|*.*|"
  314. END
  315.  
  316.  
  317. // ListView (include/owl/listview.rc)
  318. //
  319. STRINGTABLE LOADONCALL MOVEABLE DISCARDABLE
  320. BEGIN
  321.   IDS_LISTNUM,  "Line number %d"
  322. END
  323.  
  324.  
  325. // Doc/View (include/owl/docview.rc)
  326. //
  327. STRINGTABLE LOADONCALL MOVEABLE DISCARDABLE
  328. BEGIN
  329.   IDS_DOCMANAGERFILE,   "&File"
  330.   IDS_DOCLIST,          "--Document Type--"
  331.   IDS_VIEWLIST,         "--View Type--"
  332.   IDS_UNTITLED,         "Document"
  333.   IDS_UNABLEOPEN,       "Unable to open document."
  334.   IDS_UNABLECLOSE,      "Unable to close document."
  335.   IDS_READERROR,        "Document read error."
  336.   IDS_WRITEERROR,       "Document write error."
  337.   IDS_DOCCHANGED,       "The document has been changed.\n\nDo you want to save the changes?"
  338.   IDS_NOTCHANGED,       "The document has not been changed."
  339.   IDS_NODOCMANAGER,     "Document Manager not present."
  340.   IDS_NOMEMORYFORVIEW,  "Insufficient memory for view."
  341.   IDS_DUPLICATEDOC,     "Document already loaded."
  342. END
  343.  
  344.  
  345. // OLEView (include/owl/oleview.rc)
  346. //
  347. STRINGTABLE LOADONCALL MOVEABLE DISCARDABLE
  348. BEGIN
  349.    IDS_EDITOBJECT,      "&Object"
  350.    IDS_EDITCONVERT,     "Convert..."
  351.    IDS_CLOSESERVER,     "Close and Return to "
  352.    IDS_EXITSERVER,      "Exit and Return to "
  353. END
  354.  
  355. STRINGTABLE LOADONCALL MOVEABLE DISCARDABLE
  356. BEGIN
  357.   IDS_CFTEXT,           "Text\nplain text"
  358.   IDS_CFBITMAP,         "Bitmap\na bitmap image"
  359.   IDS_CFMETAFILE,       "Metafile Picture\na static picture"
  360.   IDS_CFSYLK,           "Sylk\na spreadsheet"
  361.   IDS_CFDIF,            "DIF\na document"
  362.   IDS_CFTIFF,           "Tagged Image File Format\na TIFF image file"
  363.   IDS_CFOEMTEXT,        "OEM Text\nan OEM text"
  364.   IDS_CFDIB,            "DIB\na device independent bitmap image"
  365.   IDS_CFPALETTE,        "Palette\na color palette"
  366.   IDS_CFPENDATA,        "Pen Data\npen data"
  367.   IDS_CFRIFF,           "RIFF\na RIFF media file"
  368.   IDS_CFWAVE,           "Wave\na sound wave file"
  369.   IDS_CFUNICODETEXT,    "UniCode Text\nUnicode text"
  370.   IDS_CFENHMETAFILE,    "Enhanced Metafile\nan enhanced metafile picture"
  371.   IDS_IN,               " in "
  372. END
  373.  
  374.  
  375. // Printer (include/owl/printer.rc)
  376. //
  377. STRINGTABLE LOADONCALL MOVEABLE DISCARDABLE
  378. BEGIN
  379.   IDS_PRNON,            " on "
  380.   IDS_PRNERRORTEMPLATE, "'%s' not printed. %s."
  381.   IDS_PRNOUTOFMEMORY,   "Out of memory"
  382.   IDS_PRNOUTOFDISK,     "Out of disk space"
  383.   IDS_PRNCANCEL,        "Printing canceled"
  384.   IDS_PRNMGRABORT,      "Printing aborted in Print Manager"
  385.   IDS_PRNGENERROR,      "Error encountered during print"
  386.   IDS_PRNERRORCAPTION,  "Print Error"
  387. END
  388.  
  389.  
  390. // Exception string resources (include/owl/except.rc)
  391. //
  392. STRINGTABLE LOADONCALL MOVEABLE DISCARDABLE
  393. BEGIN
  394.   IDS_OWLEXCEPTION,     "ObjectWindows Exception"
  395.   IDS_UNHANDLEDXMSG,    "Unhandled Exception"
  396.   IDS_OKTORESUME,       "OK to resume?"
  397.   IDS_UNKNOWNEXCEPTION, "Unknown exception"
  398.  
  399.   IDS_UNKNOWNERROR,     "Unknown error"
  400.   IDS_NOAPP,            "No application object"
  401.   IDS_OUTOFMEMORY,      "Out of memory"
  402.   IDS_INVALIDMODULE,    "Invalid module specified for window"
  403.   IDS_INVALIDMAINWINDOW,"Invalid MainWindow"
  404.   IDS_VBXLIBRARYFAIL,   "VBX Library init failure"
  405.  
  406.   IDS_INVALIDWINDOW,    "Invalid window %s"
  407.   IDS_INVALIDCHILDWINDOW,"Invalid child window %s"
  408.   IDS_INVALIDCLIENTWINDOW,"Invalid client window %s"
  409.  
  410.   IDS_CLASSREGISTERFAIL,"Class registration fail for window %s"
  411.   IDS_CHILDREGISTERFAIL,"Child class registration fail for window %s"
  412.   IDS_WINDOWCREATEFAIL, "Create fail for window %s"
  413.   IDS_WINDOWEXECUTEFAIL,"Execute fail for window %s"
  414.   IDS_CHILDCREATEFAIL,  "Child create fail for window %s"
  415.  
  416.   IDS_MENUFAILURE,      "Menu creation failure"
  417.   IDS_VALIDATORSYNTAX,  "Validator syntax error"
  418.   IDS_PRINTERERROR,     "Printer error"
  419.  
  420.   IDS_LAYOUTINCOMPLETE, "Incomplete layout constraints specified in window %s"
  421.   IDS_LAYOUTBADRELWIN,  "Invalid relative window specified in layout constraint in window %s"
  422.  
  423.   IDS_GDIFAILURE,       "GDI failure"
  424.   IDS_GDIALLOCFAIL,     "GDI allocate failure"
  425.   IDS_GDICREATEFAIL,    "GDI creation failure"
  426.   IDS_GDIRESLOADFAIL,   "GDI resource load failure"
  427.   IDS_GDIFILEREADFAIL,  "GDI file read failure"
  428.   IDS_GDIDELETEFAIL,    "GDI object %X delete failure"
  429.   IDS_GDIDESTROYFAIL,   "GDI object %X destroy failure"
  430.   IDS_INVALIDDIBHANDLE, "Invalid DIB handle %X"
  431. END
  432.  
  433.  
  434. // General Window's status bar messages. (include/owl/statusba.rc)
  435. //
  436. STRINGTABLE
  437. BEGIN
  438.   IDS_MODES             "EXT|CAPS|NUM|SCRL|OVR|REC"
  439.   IDS_MODESOFF          "   |  |   |  |   |   "
  440.   SC_SIZE,              "Changes the size of the window"
  441.   SC_MOVE,              "Moves the window to another position"
  442.   SC_MINIMIZE,          "Reduces the window to an icon"
  443.   SC_MAXIMIZE,          "Enlarges the window to it maximum size"
  444.   SC_RESTORE,           "Restores the window to its previous size"
  445.   SC_CLOSE,             "Closes the window"
  446.   SC_TASKLIST,          "Opens task list"
  447.   SC_NEXTWINDOW,        "Switches to next window"
  448. END
  449.  
  450.  
  451. // Validator messages (include/owl/validate.rc)
  452. //
  453. STRINGTABLE LOADONCALL MOVEABLE DISCARDABLE
  454. BEGIN
  455.   IDS_VALPXPCONFORM     "Input does not conform to picture:\n""%s"""
  456.   IDS_VALINVALIDCHAR    "Invalid character in input"
  457.   IDS_VALNOTINRANGE     "Value is not in the range %ld to %ld."
  458.   IDS_VALNOTINLIST      "Input is not in valid-list"
  459. END
  460.  
  461.  
  462. //
  463. // Bitmaps used by the speedbar.  Each bitmap is associated with a
  464. // particular menu command.
  465. //
  466. CM_MDIFILENEW BITMAP "new.bmp"
  467. CM_MDIFILEOPEN BITMAP "open.bmp"
  468. CM_FILESAVE BITMAP "save.bmp"
  469.  
  470. CM_EDITUNDO BITMAP "undo.bmp"
  471. CM_EDITCUT BITMAP "cut.bmp"
  472. CM_EDITCOPY BITMAP "copy.bmp"
  473. CM_EDITPASTE BITMAP "paste.bmp"
  474.  
  475. CM_EDITFIND BITMAP "find.bmp"
  476. CM_EDITFINDNEXT BITMAP "findnext.bmp"
  477.  
  478. CM_FILEPRINTPREVIEW  BITMAP "preview.bmp"
  479.  
  480. CM_FILEPRINT BITMAP "print.bmp"
  481.  
  482.  
  483. //
  484. // Print Preview speed bar bitmaps
  485. //
  486. APX_PPR_PREVIOUS BITMAP "previous.bmp"
  487. APX_PPR_NEXT BITMAP "next.bmp"
  488. APX_PPR_ONEUP BITMAP "preview1.bmp"
  489. APX_PPR_TWOUP BITMAP "preview2.bmp"
  490. APX_PPR_DONE BITMAP "prexit.bmp"
  491.  
  492.  
  493. //
  494. // Misc application definitions
  495. //
  496.  
  497. // MDI document ICON
  498. //
  499. IDI_DOC ICON "mdichild.ico"
  500.  
  501. // Application ICON
  502. //
  503. IDI_MDIAPPLICATION ICON "appldocv.ico"
  504.  
  505.  
  506. // About box.
  507. //
  508. IDD_ABOUT DIALOG 12, 17, 204, 65
  509. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  510. CAPTION "About ApxOle"
  511. FONT 8, "MS Sans Serif"
  512. BEGIN
  513.   CTEXT "Version", IDC_VERSION, 2, 14, 200, 8, SS_NOPREFIX
  514.   CTEXT "AppExpert MDI OLE Example", -1, 2, 4, 200, 8, SS_NOPREFIX
  515.   CTEXT "", IDC_COPYRIGHT, 2, 27, 200, 17, SS_NOPREFIX
  516.   RTEXT "", IDC_DEBUG, 136, 55, 66, 8, SS_NOPREFIX
  517.   ICON IDI_MDIAPPLICATION, -1, 2, 2, 34, 34
  518.   DEFPUSHBUTTON "OK", IDOK, 82, 48, 40, 14
  519. END
  520.  
  521.  
  522. // Printer abort box.
  523. //
  524. IDD_ABORTDIALOG DIALOG 84, 51, 130, 60
  525. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  526. CAPTION "Printing"
  527. BEGIN
  528.   PUSHBUTTON "Cancel", IDCANCEL, 46, 40, 40, 14, WS_TABSTOP
  529.   CTEXT "Now printing Page %d of", ID_PAGE, 0, 8, 130, 8, SS_CENTER | NOT WS_VISIBLE | WS_GROUP
  530.   CTEXT "Now printing", -1, 0, 8, 130, 8,
  531.   CTEXT "'%s' on the", ID_TITLE, 0, 16, 130, 8
  532.   CTEXT "", ID_PORT, 0, 24, 130, 8, SS_CENTER | NOT WS_VISIBLE | WS_GROUP
  533.   CTEXT "%s on %s", ID_DEVICE, 0, 24, 130, 8
  534. END
  535.  
  536.  
  537. // TInputDialog class dialog box.
  538. //
  539. IDD_INPUTDIALOG DIALOG 20, 24, 180, 64
  540. STYLE WS_POPUP | WS_CAPTION | DS_SETFONT
  541. FONT 8, "Helv"
  542. BEGIN
  543.   LTEXT "", ID_PROMPT, 10, 8, 160, 10, SS_NOPREFIX
  544.   CONTROL "", ID_INPUT, "EDIT", WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL, 10, 20, 160, 12
  545.   DEFPUSHBUTTON "&OK", IDOK, 47, 42, 40, 14
  546.   PUSHBUTTON "&Cancel", IDCANCEL, 93, 42, 40, 14
  547. END
  548.  
  549. // Slider thumb bitmaps for TSlider and TVSlider (include/owl/slider.rc)
  550. //
  551. IDB_HSLIDERTHUMB BITMAP "hslider.bmp"
  552. IDB_VSLIDERTHUMB BITMAP "vslider.bmp"
  553.  
  554. // Version info.
  555. //
  556. #if !defined(__DEBUG_)
  557.  
  558. // Non-Debug VERSIONINFO
  559. //
  560. 1 VERSIONINFO LOADONCALL MOVEABLE
  561. FILEVERSION 1, 0, 0, 0
  562. PRODUCTVERSION 1, 0, 0, 0
  563. FILEFLAGSMASK 0
  564. FILEFLAGS VS_FFI_FILEFLAGSMASK
  565. #if defined(BI_PLAT_WIN32)
  566. FILEOS VOS__WINDOWS32
  567. #else
  568. FILEOS VOS__WINDOWS16
  569. #endif
  570. FILETYPE VFT_APP
  571. BEGIN
  572.   BLOCK "StringFileInfo"
  573.   BEGIN
  574.     // Language type = U.S. English(0x0409) and Character Set = Windows, Multilingual(0x04e4)
  575.     BLOCK "040904E4"              // Matches VarFileInfo Translation hex value.
  576.     BEGIN
  577.       VALUE "CompanyName", "Borland International\000"
  578.       VALUE "FileDescription", "ApxOle for Windows\000"
  579.       VALUE "FileVersion", "1.0\000"
  580.       VALUE "InternalName", "ApxOle\000"
  581.       VALUE "LegalCopyright", "Copyright ⌐ 1996. All Rights Reserved.\000"
  582.       VALUE "LegalTrademarks", "Windows(TM) is a trademark of Microsoft Corporation\000"
  583.       VALUE "OriginalFilename", "ApxOle.exe\000"
  584.       VALUE "ProductName", "ApxOle\000"
  585.       VALUE "ProductVersion", "1.0\000"
  586.     END
  587.   END
  588.  
  589.   BLOCK "VarFileInfo"
  590.   BEGIN
  591.     VALUE "Translation", 0x0409, 0x04e4    // U.S. English(0x0409) & Windows Multilingual(0x04e4) 1252
  592.   END
  593. END
  594.  
  595. #else
  596.  
  597. // Debug VERSIONINFO
  598. //
  599. 1 VERSIONINFO LOADONCALL MOVEABLE
  600. FILEVERSION 1, 0, 0, 0
  601. PRODUCTVERSION 1, 0, 0, 0
  602. FILEFLAGSMASK VS_FF_DEBUG | VS_FF_PRERELEASE | VS_FF_PATCHED | VS_FF_PRIVATEBUILD | VS_FF_SPECIALBUILD
  603. FILEFLAGS VS_FFI_FILEFLAGSMASK
  604. #if defined(BI_PLAT_WIN32)
  605. FILEOS VOS__WINDOWS32
  606. #else
  607. FILEOS VOS__WINDOWS16
  608. #endif
  609. FILETYPE VFT_APP
  610. BEGIN
  611.   BLOCK "StringFileInfo"
  612.   BEGIN
  613.     // Language type = U.S. English(0x0409) and Character Set = Windows, Multilingual(0x04e4)
  614.     BLOCK "040904E4"              // Matches VarFileInfo Translation hex value.
  615.     BEGIN
  616.       VALUE "CompanyName", "Borland International\000"
  617.       VALUE "FileDescription", "ApxOle for Windows\000"
  618.       VALUE "FileVersion", "1.0\000"
  619.       VALUE "InternalName", "ApxOle\000"
  620.       VALUE "LegalCopyright", "Copyright ⌐ 1996. All Rights Reserved.\000"
  621.       VALUE "LegalTrademarks", "Windows(TM) is a trademark of Microsoft Corporation\000"
  622.       VALUE "OriginalFilename", "ApxOle.exe\000"
  623.       VALUE "ProductName", "ApxOle\000"
  624.       VALUE "ProductVersion", "1.0\000"
  625.       VALUE "SpecialBuild", "Debug Version\000"
  626.       VALUE "PrivateBuild", "Built by \000"
  627.     END
  628.   END
  629.  
  630.   BLOCK "VarFileInfo"
  631.   BEGIN
  632.     VALUE "Translation", 0x0409, 0x04e4    // U.S. English(0x0409) & Windows Multilingual(0x04e4) 1252
  633.   END
  634. END
  635.  
  636. #endif
  637.