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 / chap21 / polyline / polyline.rc < prev    next >
Text File  |  1995-05-03  |  4KB  |  115 lines

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