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

  1. //===========================================================================
  2. //  File:      CONCLIEN.RC
  3. //
  4. //  Summary:   Resource definition file for CONCLIEN.EXE.
  5. //
  6. //  Origin:    5-30-96: atrent - Editor-inheritance from FRECLIEN 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 CONCLIEN.H for Resource IDs unique to CONCLIEN.EXE.
  25. #include <ole2.h>
  26. #include "conclien.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 CONCLIEN"
  41. FONT 8, "MS Shell Dlg"
  42. BEGIN
  43.   ICON            "AppIcon",-1,6,7,18,20
  44.   LTEXT           "Tutorial Code Sample: CONCLIEN 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 "conclien.ico"
  54.  
  55.  
  56. // The main menu resource definition.
  57. CONCLIENMENU MENU DISCARDABLE
  58. BEGIN
  59.   POPUP "&File"
  60.   BEGIN
  61.     MENUITEM "E&xit",                   IDM_FILE_EXIT
  62.   END
  63.   POPUP "&Sound"
  64.   BEGIN
  65.     MENUITEM "&Connect Ball Sound",     IDM_SOUND_BALL_ON
  66.     MENUITEM "&Disconnect Ball Sound",  IDM_SOUND_BALL_OFF, CHECKED
  67.   END
  68.   POPUP "&Help"
  69.   BEGIN
  70. //  MENUITEM "&Help Topics",            IDM_HELP_CONTENTS
  71.     MENUITEM "CONCLIEN &Tutorial",      IDM_HELP_TUTORIAL
  72.     MENUITEM "&CONSERVE Tutorial",      IDM_HELP_TUTSERVER
  73.     MENUITEM "Read Source &File...",    IDM_HELP_READSOURCE
  74.     MENUITEM SEPARATOR
  75.     MENUITEM "&About CONCLIEN...",      IDM_HELP_ABOUT
  76.   END
  77. END
  78.  
  79.  
  80. // Error Box String Resources.
  81. STRINGTABLE DISCARDABLE
  82. BEGIN
  83.   IDS_COMINITFAILED       "CONCLIEN: COM initialization failed."
  84.   IDS_APPINITFAILED       "CONCLIEN: App initialization failed."
  85.   IDS_OUTOFMEMORY         "CONCLIEN: Ran out of memory."
  86.   IDS_NOHELPFILE          "CONCLIEN: Can't find .HLP file."
  87.   IDS_NOUNICODE           "CONCLIEN: Can't run with Unicode."
  88.   IDS_NOSERVER            "CONCLIEN: Server not registered."
  89.   IDS_ASSERT_FAIL         "CONCLIEN: Assertion Failed."
  90. END
  91.  
  92. // Notice Box and Message log String Resources.
  93. STRINGTABLE DISCARDABLE
  94. BEGIN
  95.   IDS_START_MESSAGE_LOG   "========== Trace Message Log =========="
  96. END
  97.  
  98.  
  99. // If being read in by AppStudio we don't confuse it with this Version Info.
  100. #ifndef APSTUDIO_INVOKED
  101.  
  102. // The version information for the binary.
  103. VS_VERSION_INFO VERSIONINFO
  104. FILEVERSION    1,0,0,0
  105. PRODUCTVERSION 1,0,0,0
  106. FILEFLAGSMASK  VS_FFI_FILEFLAGSMASK
  107. #ifndef DEBUG
  108.   FILEFLAGS    0
  109. #else
  110.   FILEFLAGS    VS_FF_DEBUG | VS_FF_PRERELEASE
  111. #endif
  112. FILEOS         VOS_NT_WINDOWS32
  113. FILETYPE       VFT_APP
  114. FILESUBTYPE    VFT2_UNKNOWN
  115. BEGIN
  116.   BLOCK "StringFileInfo"
  117.   BEGIN
  118.     #ifdef UNICODE
  119.       BLOCK "040904B0" // LANG_ENGLISH/SUBLANG_ENGLISH_US, CharSet=Unicode
  120.     #else
  121.       BLOCK "040904E4" // LANG_ENGLISH/SUBLANG_ENGLISH_US, CharSet=MultiLang
  122.     #endif
  123.     BEGIN
  124.       VALUE "CompanyName",     "Microsoft Corporation"
  125.       VALUE "FileDescription", "CONCLIEN: Tutorial Code Sample"
  126.       VALUE "FileVersion",     "1.00"
  127.       VALUE "InternalName",    "CONCLIEN"
  128.       VALUE "LegalCopyright",  "Copyright \251 1997 Microsoft Corp. "
  129.       VALUE "OriginalFilename","CONCLIEN.EXE"
  130.       VALUE "ProductName",     "Microsoft\256 Tutorial Code Samples"
  131.       VALUE "ProductVersion",  "1.00"
  132.     END
  133.   END
  134.  
  135.   BLOCK "VarFileInfo"
  136.   BEGIN
  137.     #ifdef UNICODE
  138.       VALUE "Translation", 0x409, 1200  //English (0x409), Unicode (1200)
  139.     #else
  140.       VALUE "Translation", 0x409, 1252  //English (0x409), ANSI (1252)
  141.     #endif
  142.   END
  143. END
  144.  
  145. #endif
  146.