home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / com / inole2 / chap19 / polyline / polyline.rc < prev    next >
Text File  |  1995-05-03  |  4KB  |  117 lines

  1. /*
  2.  * POLYLINE.RC
  3.  * Polyline Component Chapter 19
  4.  *
  5.  * Resources for the Polyline object (just the version information)
  6.  *
  7.  * Copyright (c)1993-1995 Microsoft Corporation, All Rights Reserved
  8.  *
  9.  * Kraig Brockschmidt, Microsoft
  10.  * Internet  :  kraigb@microsoft.com
  11.  * Compuserve:  >INTERNET:kraigb@microsoft.com
  12.  */
  13.  
  14.  
  15. #include <windows.h>
  16.  
  17. #ifdef WIN32
  18. #include <winver.h>
  19. #else
  20. #include <ver.h>
  21. #endif
  22.  
  23. #include "resource.h"
  24.  
  25. //CHAPTER19MOD
  26. //This is the default for iconic representations.
  27. IDR_ICON        ICON    polyline.ico
  28.  
  29.  
  30. //This dialog is used to edit the Polyline
  31. IDD_EDITDIALOG DIALOG 6, 18, 258, 152
  32. STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU
  33. CAPTION "Polyline"
  34. FONT 8, "MS Sans Serif"
  35. BEGIN
  36.     CONTROL         "", ID_POLYLINERECT, "Static", SS_BLACKFRAME
  37.                         , 8, 12, 134, 132
  38.     PUSHBUTTON      "&Close", IDOK, 178, 6, 56, 14
  39.     PUSHBUTTON      "&Undo", ID_UNDO, 178, 24, 56, 14
  40.     PUSHBUTTON      "&Background...", ID_COLORBACK, 178, 54, 56, 14
  41.     PUSHBUTTON      "&Line...", ID_COLORLINE, 178, 72, 56, 14
  42.     GROUPBOX        "Colors", ID_GROUPCOLORS, 158, 42, 94, 48
  43.     GROUPBOX        "Figure", ID_GROUPFIGURE, 2, 0, 146, 148
  44.     GROUPBOX        "Line Styles", ID_GROUPSTYLES, 158, 94, 94, 54
  45.     CONTROL         "&Solid", ID_LINESOLID, "Button",
  46.                     BS_AUTORADIOBUTTON | WS_GROUP, 166, 106, 32, 10
  47.     CONTROL         "&Dash", ID_LINEDASH, "Button"
  48.                         , BS_AUTORADIOBUTTON, 216
  49.                         , 106, 32, 10
  50.     CONTROL         "Da&sh-Dot-Dot", ID_LINEDASHDOTDOT, "Button"
  51.                         , BS_AUTORADIOBUTTON, 166, 134, 80, 10
  52.     CONTROL         "D&ot", ID_LINEDOT, "Button"
  53.                         , BS_AUTORADIOBUTTON, 216
  54.                         , 120, 32, 10
  55.     CONTROL         "D&ash-Dot", ID_LINEDASHDOT, "Button"
  56.                         , BS_AUTORADIOBUTTON, 166, 120, 48, 10
  57. END
  58.  
  59.  
  60. STRINGTABLE
  61.     BEGIN
  62.      IDS_STORAGEFORMAT,      "Polyline Figure"
  63.      IDS_USERTYPE,           "Polyline Figure"
  64.      IDS_CLOSECAPTION,       "Polyline"
  65.      IDS_CLOSEPROMPT,        "Object has changed.  Do you wish to update it?"
  66.     END
  67.  
  68. //End CHAPTER19MOD
  69.  
  70.  
  71. VS_VERSION_INFO VERSIONINFO
  72.  FILEVERSION        1,0,0,0
  73.  PRODUCTVERSION     1,0,0,0
  74.  FILEFLAGSMASK      VS_FFI_FILEFLAGSMASK
  75. #ifndef DEBUG
  76.  FILEFLAGS          0
  77. #else
  78.  FILEFLAGS          VS_FF_DEBUG | VS_FF_PRERELEASE
  79. #endif
  80. #ifdef WIN32
  81.  FILEOS             VOS_NT_WINDOWS32
  82. #else
  83.  FILEOS             VOS_DOS_WINDOWS16
  84. #endif
  85.  FILETYPE           VFT_DLL
  86.  FILESUBTYPE        VFT_UNKNOWN
  87.  
  88.  BEGIN
  89.    BLOCK "StringFileInfo"
  90.     BEGIN
  91.     #ifdef UNICODE
  92.      BLOCK "040904B0" // Lang=US English, CharSet=Unicode
  93.     #else
  94.      BLOCK "040904E4" // Lang=US English, CharSet=Windows Multilingual
  95.     #endif
  96.       BEGIN
  97.        VALUE "CompanyName",     "Microsoft Corporation\0", "\0"
  98.        VALUE "FileDescription", "Polyline Object 1.0", "\0"
  99.        VALUE "FileVersion",     "1.00\0", "\0"
  100.        VALUE "InternalName",    "POLY19.DLL", "\0"
  101.        VALUE "LegalCopyright",  "Copyright \251 1993-1995 Microsoft Corp.", "\0"
  102.        VALUE "OriginalFilename","POLY19.DLL", "\0"
  103.        VALUE "ProductName",     "Polyline Object 1.0", "\0"
  104.        VALUE "ProductVersion",  "1.00\0"
  105.       END
  106.    END
  107.  
  108.    BLOCK "VarFileInfo"
  109.     BEGIN 
  110.     #ifdef UNICODE
  111.      VALUE "Translation", 0x409, 1200  //English (0x409), Unicode (1200)
  112.     #else
  113.      VALUE "Translation", 0x409, 1252  //English (0x409), ANSI (1252)
  114.     #endif
  115.     END
  116.  END
  117.