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

  1. //===========================================================================
  2. //  File:      EXESKEL.RC
  3. //
  4. //  Summary:   Resource definition file for EXESKEL.
  5. //
  6. //  Origin:    7-27-95: atrent - Created based on DFVIEW by stevebl.
  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 inlcude apputil.h for Resource IDs shared with APPUTIL.
  25. // We include exeskel.h for Resource IDs unique to EXESKEL.EXE.
  26. #include <ole2.h>
  27. #include <apputil.h>
  28. #include "exeskel.h"
  29.  
  30.  
  31. // The main keyboard accelerator resource table.
  32. AppAccel ACCELERATORS MOVEABLE PURE
  33. BEGIN
  34.   VK_F1,          IDM_HELP_CONTENTS,      VIRTKEY
  35.   "?",            IDM_HELP_CONTENTS,      ASCII
  36. END
  37.  
  38.  
  39. // The About Box dialog resource.
  40. IDM_HELP_ABOUT DIALOG DISCARDABLE  67, 46, 196, 53
  41. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  42. CAPTION "About EXESKEL"
  43. FONT 8, "MS Shell Dlg"
  44. BEGIN
  45.   ICON            "AppIcon",-1,6,7,18,20
  46.   LTEXT           "Tutorial Code Sample: EXESKEL Version 1.0",-1,32,7,
  47.                     155,8,NOT WS_GROUP
  48.   LTEXT           "Copyright 1997 Microsoft Corporation",-1,32,18,155,
  49.                     8,NOT WS_GROUP
  50.   PUSHBUTTON      "OK",IDOK,75,32,40,14
  51. END
  52.  
  53.  
  54. // The main icon resource for the application.
  55. AppIcon ICON DISCARDABLE "exeskel.ico"
  56.  
  57.  
  58. // The main menu resource definition.
  59. EXESKELMENU MENU DISCARDABLE
  60. BEGIN
  61.   POPUP "&File"
  62.   BEGIN
  63.     MENUITEM "E&xit",                       IDM_FILE_EXIT
  64.   END
  65.   POPUP "&Help"
  66.   BEGIN
  67. //  MENUITEM "&Help Contents",              IDM_HELP_CONTENTS
  68.     MENUITEM "EXESKEL &Tutorial",           IDM_HELP_TUTORIAL
  69.     MENUITEM "Read &Source File...",        IDM_HELP_READSOURCE
  70.     MENUITEM SEPARATOR
  71.     MENUITEM "&About EXESKEL...",           IDM_HELP_ABOUT
  72.   END
  73. END
  74.  
  75.  
  76. // Error Box String Resources.
  77. STRINGTABLE DISCARDABLE
  78. BEGIN
  79.   IDS_COMINITFAILED       "EXESKEL: COM initizlization failed."
  80.   IDS_APPINITFAILED       "EXESKEL: App initizlization failed."
  81.   IDS_OUTOFMEMORY         "EXESKEL: Ran out of memory."
  82.   IDS_NOHELPFILE          "EXESKEL: Can't find .HLP file."
  83.   IDS_UNICODEFAIL         "EXESKEL: Can't run with Unicode."
  84.   IDS_ASSERT_FAIL         "EXESKEL: Assertion Failed."
  85. END
  86.  
  87.  
  88. // If being read in by AppStudio we don't confuse it with this Version Info.
  89. #ifndef APSTUDIO_INVOKED
  90.  
  91. // The version information for the binary.
  92. VS_VERSION_INFO VERSIONINFO
  93. FILEVERSION    1,0,0,0
  94. PRODUCTVERSION 1,0,0,0
  95. FILEFLAGSMASK  VS_FFI_FILEFLAGSMASK
  96. #ifndef DEBUG
  97.   FILEFLAGS    0
  98. #else
  99.   FILEFLAGS    VS_FF_DEBUG | VS_FF_PRERELEASE
  100. #endif
  101. FILEOS         VOS_NT_WINDOWS32
  102. FILETYPE       VFT_APP
  103. FILESUBTYPE    VFT2_UNKNOWN
  104. BEGIN
  105.   BLOCK "StringFileInfo"
  106.   BEGIN
  107.     #ifdef UNICODE
  108.       BLOCK "040904B0" // LANG_ENGLISH/SUBLANG_ENGLISH_US, CharSet=Unicode
  109.     #else
  110.       BLOCK "040904E4" // LANG_ENGLISH/SUBLANG_ENGLISH_US, CharSet=MultiLang
  111.     #endif
  112.     BEGIN
  113.       VALUE "CompanyName",     "Microsoft Corporation"
  114.       VALUE "FileDescription", "EXESKEL: Tutorial Code Sample"
  115.       VALUE "FileVersion",     "1.00"
  116.       VALUE "InternalName",    "EXESKEL"
  117.       VALUE "LegalCopyright",  "Copyright \251 1997 Microsoft Corp. "
  118.       VALUE "OriginalFilename","EXESKEL.EXE"
  119.       VALUE "ProductName",     "Microsoft\256 Tutorial Code Samples"
  120.       VALUE "ProductVersion",  "1.00"
  121.     END
  122.   END
  123.  
  124.   BLOCK "VarFileInfo"
  125.   BEGIN
  126.     #ifdef UNICODE
  127.       VALUE "Translation", 0x409, 1200  //English (0x409), Unicode (1200)
  128.     #else
  129.       VALUE "Translation", 0x409, 1252  //English (0x409), ANSI (1252)
  130.     #endif
  131.   END
  132. END
  133.  
  134. #endif
  135.