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

  1. //----------------------------------------------------------------------------
  2. //  Project Shell
  3. //  Borland International
  4. //  Copyright ⌐ 1995 Borland International. All Rights Reserved.
  5. //
  6. //  SUBSYSTEM:  shell.exe Application
  7. //  FILE:     shellapp.rc
  8. //  AUTHOR:     The OWL Team
  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 "shellapp.rh"
  20.  
  21. #include <owl/except.rc>
  22.  
  23. IDM_MDI MENU
  24. BEGIN
  25.   POPUP "&File"
  26.   BEGIN
  27.     MENUITEM "&New", CM_MDIFILENEW
  28.     MENUITEM SEPARATOR
  29.     MENUITEM "E&xit\tAlt+F4", CM_EXIT
  30.   END
  31.   MENUITEM SEPARATOR
  32.   MENUITEM SEPARATOR
  33.   MENUITEM SEPARATOR
  34.   MENUITEM SEPARATOR
  35.   POPUP "&Window"
  36.   BEGIN
  37.     MENUITEM "&Cascade", CM_CASCADECHILDREN
  38.     MENUITEM "&Tile", CM_TILECHILDREN
  39.     MENUITEM "Arrange &Icons", CM_ARRANGEICONS
  40.     MENUITEM "C&lose All", CM_CLOSECHILDREN
  41.   END
  42.   MENUITEM SEPARATOR
  43.   POPUP "&Help"
  44.   BEGIN
  45.     MENUITEM "&About...", CM_HELPABOUT
  46.   END
  47. END
  48.  
  49. // Table of help hints displayed in the status bar.
  50. //
  51. STRINGTABLE
  52. BEGIN
  53.   -1,                   "File operations"
  54.   CM_MDIFILENEW,        "Creates a desktop folder"
  55.   CM_EXIT,              "Quits ShellApp and prompts to save the documents"
  56.   CM_CASCADECHILDREN-1, "Window arrangement and selection"
  57.   CM_CASCADECHILDREN,   "Cascades open windows"
  58.   CM_TILECHILDREN,      "Tiles open windows"
  59.   CM_ARRANGEICONS,      "Arranges iconic windows along bottom"
  60.   CM_CLOSECHILDREN,     "Closes all open windows"
  61.   CM_HELPABOUT,         "About the Shell application"
  62. END
  63.  
  64. //
  65. // Bitmaps used by the speedbar.  Each bitmap is associated with a
  66. // particular menu command.
  67. //
  68. CM_MDIFILENEW BITMAP "new.bmp"
  69.  
  70. // Application ICON
  71. //
  72. IDI_SHELLAPP ICON "shellapp.ico"
  73.  
  74. // About box.
  75. //
  76. IDD_ABOUT DIALOG 12, 17, 204, 65
  77. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  78. CAPTION "About Shell"
  79. FONT 8, "MS Sans Serif"
  80. BEGIN
  81.  CTEXT "Version", IDC_VERSION, 2, 14, 200, 8, SS_NOPREFIX
  82.  CTEXT "OWL Win95 Shell Classes Sample Application", -1, 2, 4, 200, 8, SS_NOPREFIX
  83.  CTEXT "", IDC_COPYRIGHT, 2, 27, 200, 17, SS_NOPREFIX
  84.  RTEXT "", IDC_DEBUG, 136, 55, 66, 8, SS_NOPREFIX
  85.  ICON "IDI_SHELLAPP", -1, 2, 2, 34, 34
  86.  DEFPUSHBUTTON "OK", IDOK, 82, 48, 40, 14
  87. END
  88.  
  89. // Version info.
  90. //
  91. #if !defined(__DEBUG_)
  92.  
  93. // Non-Debug VERSIONINFO
  94. //
  95. 1 VERSIONINFO LOADONCALL MOVEABLE
  96. FILEVERSION 1, 0, 0, 0
  97. PRODUCTVERSION 1, 0, 0, 0
  98. FILEFLAGSMASK 0
  99. FILEFLAGS VS_FFI_FILEFLAGSMASK
  100. FILEOS VOS__WINDOWS32
  101. FILETYPE VFT_APP
  102. BEGIN
  103.   BLOCK "StringFileInfo"
  104.   BEGIN
  105.     // Language type = U.S. English(0x0409) and Character Set = Windows, Multilingual(0x04e4)
  106.     BLOCK "040904E4"              // Matches VarFileInfo Translation hex value.
  107.     BEGIN
  108.       VALUE "CompanyName", "Borland International\000"
  109.       VALUE "FileDescription", "Shell for Windows\000"
  110.       VALUE "FileVersion", "1.0\000"
  111.       VALUE "InternalName", "Shell\000"
  112.       VALUE "LegalCopyright", "Copyright ⌐ 1995 Borland International. All Rights Reserved.\000"
  113.       VALUE "LegalTrademarks", "Windows(TM) is a trademark of Microsoft Corporation\000"
  114.       VALUE "OriginalFilename", "Shell.EXE\000"
  115.       VALUE "ProductName", "Shell\000"
  116.       VALUE "ProductVersion", "1.0\000"
  117.     END
  118.   END
  119.  
  120.   BLOCK "VarFileInfo"
  121.   BEGIN
  122.     VALUE "Translation", 0x0409, 0x04e4    // U.S. English(0x0409) & Windows Multilingual(0x04e4) 1252
  123.   END
  124. END
  125.  
  126. #else
  127.  
  128. // Debug VERSIONINFO
  129. //
  130. 1 VERSIONINFO LOADONCALL MOVEABLE
  131. FILEVERSION 1, 0, 0, 0
  132. PRODUCTVERSION 1, 0, 0, 0
  133. FILEFLAGSMASK VS_FF_DEBUG | VS_FF_PRERELEASE | VS_FF_PATCHED | VS_FF_PRIVATEBUILD | VS_FF_SPECIALBUILD
  134. FILEFLAGS VS_FFI_FILEFLAGSMASK
  135. FILEOS VOS__WINDOWS32
  136. FILETYPE VFT_APP
  137. BEGIN
  138.   BLOCK "StringFileInfo"
  139.   BEGIN
  140.     // Language type = U.S. English(0x0409) and Character Set = Windows, Multilingual(0x04e4)
  141.     BLOCK "040904E4"              // Matches VarFileInfo Translation hex value.
  142.     BEGIN
  143.       VALUE "CompanyName", "Borland International\000"
  144.       VALUE "FileDescription", "Shell for Windows\000"
  145.       VALUE "FileVersion", "1.0\000"
  146.       VALUE "InternalName", "Shell\000"
  147.       VALUE "LegalCopyright", "Copyright ⌐ 1995 Borland International. All Rights Reserved.\000"
  148.       VALUE "LegalTrademarks", "Windows(TM) is a trademark of Microsoft Corporation\000"
  149.       VALUE "OriginalFilename", "Shell.EXE\000"
  150.       VALUE "ProductName", "Shell\000"
  151.       VALUE "ProductVersion", "1.0\000"
  152.       VALUE "SpecialBuild", "Debug Version\000"
  153.       VALUE "PrivateBuild", "Built by The OWL Team\000"
  154.     END
  155.   END
  156.  
  157.   BLOCK "VarFileInfo"
  158.   BEGIN
  159.     VALUE "Translation", 0x0409, 0x04e4    // U.S. English(0x0409) & Windows Multilingual(0x04e4) 1252
  160.   END
  161. END
  162.  
  163. #endif
  164.