home *** CD-ROM | disk | FTP | other *** search
/ PC Press 1997 July / Sezamfile97_2.iso / windows / program / activex / axtsamp.exe / TSBRANCH.EXE / FRECLIEN / FRECLIEN.RC < prev    next >
Text File  |  1997-01-12  |  5KB  |  141 lines

  1. //===========================================================================
  2. //  File:      FRECLIEN.RC
  3. //
  4. //  Summary:   Resource definition file for FRECLIEN.EXE.
  5. //
  6. //  Origin:    4-7-96: atrent - Editor-inheritance from the DLLCLIEN source.
  7. //
  8. // -------------------------------------------------------------------------
  9. //  This file is part of the Microsoft ActiveX Tutorial Code Samples.
  10. //
  11. //  Copyright (C) Microsoft Corporation, 1997.  All rights reserved.
  12. //
  13. //  This source code is intended only as a supplement to Microsoft
  14. //  Development Tools and/or on-line documentation.  See these other
  15. //  materials for detailed information regarding Microsoft code samples.
  16. //
  17. //  THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
  18. //  KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  19. //  IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  20. //  PARTICULAR PURPOSE.
  21. //===========================================================================
  22.  
  23. // We include ole2.h because we're defining the Version Info.
  24. // We include FRECLIEN.H for Resource IDs unique to FRECLIEN.EXE.
  25. #include <ole2.h>
  26. #include "freclien.h"
  27.  
  28.  
  29. // The main keyboard accelerator resource table.
  30. AppAccel ACCELERATORS MOVEABLE PURE
  31. BEGIN
  32.   VK_F1,          IDM_HELP_CONTENTS,      VIRTKEY
  33.   "?",            IDM_HELP_CONTENTS,      ASCII
  34. END
  35.  
  36.  
  37. // The About Box dialog resource.
  38. IDM_HELP_ABOUT DIALOG DISCARDABLE  67, 46, 196, 53
  39. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  40. CAPTION "About FRECLIEN"
  41. FONT 8, "MS Shell Dlg"
  42. BEGIN
  43.   ICON            "AppIcon",-1,6,7,18,20
  44.   LTEXT           "Tutorial Code Sample: FRECLIEN Version 1.0",-1,32,7,
  45.                     155,8,NOT WS_GROUP
  46.   LTEXT           "Copyright 1997 Microsoft Corporation",-1,32,18,155,
  47.                     8,NOT WS_GROUP
  48.   PUSHBUTTON      "OK",IDOK,75,32,40,14
  49. END
  50.  
  51.  
  52. // The main icon resource for the application.
  53. AppIcon ICON DISCARDABLE "freclien.ico"
  54.  
  55.  
  56. // The main menu resource definition.
  57. FRECLIENMENU MENU DISCARDABLE
  58. BEGIN
  59.   POPUP "&File"
  60.   BEGIN
  61.     MENUITEM "E&xit",                   IDM_FILE_EXIT
  62.   END
  63.   POPUP "&Help"
  64.   BEGIN
  65. //  MENUITEM "&Help Topics",            IDM_HELP_CONTENTS
  66.     MENUITEM "FRECLIEN &Tutorial",      IDM_HELP_TUTORIAL
  67.     MENUITEM "FRE&SERVE Tutorial",      IDM_HELP_TUTSERVER
  68.     MENUITEM "Read Source &File...",    IDM_HELP_READSOURCE
  69.     MENUITEM SEPARATOR
  70.     MENUITEM "&About FRECLIEN...",      IDM_HELP_ABOUT
  71.   END
  72. END
  73.  
  74.  
  75. // Error Box String Resources.
  76. STRINGTABLE DISCARDABLE
  77. BEGIN
  78.   IDS_COMINITFAILED       "FRECLIEN: COM initialization failed."
  79.   IDS_APPINITFAILED       "FRECLIEN: App initialization failed."
  80.   IDS_OUTOFMEMORY         "FRECLIEN: Ran out of memory."
  81.   IDS_NOHELPFILE          "FRECLIEN: Can't find .HLP file."
  82.   IDS_NOUNICODE           "FRECLIEN: Can't run with Unicode."
  83.   IDS_NOSERVER            "FRECLIEN: Server not registered."
  84.   IDS_ASSERT_FAIL         "FRECLIEN: Assertion Failed."
  85. END
  86.  
  87. // Notice Box and Message log String Resources.
  88. STRINGTABLE DISCARDABLE
  89. BEGIN
  90.   IDS_START_MESSAGE_LOG   "========== Trace Message Log =========="
  91. END
  92.  
  93.  
  94. // If being read in by AppStudio we don't confuse it with this Version Info.
  95. #ifndef APSTUDIO_INVOKED
  96.  
  97. // The version information for the binary.
  98. VS_VERSION_INFO VERSIONINFO
  99. FILEVERSION    1,0,0,0
  100. PRODUCTVERSION 1,0,0,0
  101. FILEFLAGSMASK  VS_FFI_FILEFLAGSMASK
  102. #ifndef DEBUG
  103.   FILEFLAGS    0
  104. #else
  105.   FILEFLAGS    VS_FF_DEBUG | VS_FF_PRERELEASE
  106. #endif
  107. FILEOS         VOS_NT_WINDOWS32
  108. FILETYPE       VFT_APP
  109. FILESUBTYPE    VFT2_UNKNOWN
  110. BEGIN
  111.   BLOCK "StringFileInfo"
  112.   BEGIN
  113.     #ifdef UNICODE
  114.       BLOCK "040904B0" // LANG_ENGLISH/SUBLANG_ENGLISH_US, CharSet=Unicode
  115.     #else
  116.       BLOCK "040904E4" // LANG_ENGLISH/SUBLANG_ENGLISH_US, CharSet=MultiLang
  117.     #endif
  118.     BEGIN
  119.       VALUE "CompanyName",     "Microsoft Corporation"
  120.       VALUE "FileDescription", "FRECLIEN: Tutorial Code Sample"
  121.       VALUE "FileVersion",     "1.00"
  122.       VALUE "InternalName",    "FRECLIEN"
  123.       VALUE "LegalCopyright",  "Copyright \251 1997 Microsoft Corp. "
  124.       VALUE "OriginalFilename","FRECLIEN.EXE"
  125.       VALUE "ProductName",     "Microsoft\256 Tutorial Code Samples"
  126.       VALUE "ProductVersion",  "1.00"
  127.     END
  128.   END
  129.  
  130.   BLOCK "VarFileInfo"
  131.   BEGIN
  132.     #ifdef UNICODE
  133.       VALUE "Translation", 0x409, 1200  //English (0x409), Unicode (1200)
  134.     #else
  135.       VALUE "Translation", 0x409, 1252  //English (0x409), ANSI (1252)
  136.     #endif
  137.   END
  138. END
  139.  
  140. #endif
  141.