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 / chap24 / polyprop / polyprop.rc < prev    next >
Text File  |  1995-05-03  |  3KB  |  102 lines

  1. /*
  2.  * POLYPROP.RC
  3.  * Polyline Property Page Resources, Chapter 16
  4.  *
  5.  * Resource definitions
  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. #include "polyprop.h"
  17.  
  18. #ifdef WIN32
  19. #include <winver.h>
  20. #else
  21. #include <ver.h>
  22. #endif
  23.  
  24.  
  25. /*
  26.  * Property Page layout.  Note that there is a lack of
  27.  * WS_CAPTION or frame styles with this dialog, which is what
  28.  * you want for a property page.  You can use any dialog
  29.  * editing tool to create the template, then ensure that
  30.  * you don't have any frame or caption styles.
  31.  */
  32.  
  33.  
  34. IDD_POLYLINEPROPS DIALOG DISCARDABLE  0, 0, 227, 84
  35. STYLE WS_CHILD
  36. FONT 8, "MS Sans Serif"
  37. BEGIN
  38.     GROUPBOX        "Line Styles",ID_GROUPSTYLE,6,3,116,73
  39.     CONTROL         "&Solid",ID_LINESOLID,"Button",BS_AUTORADIOBUTTON,
  40.                     11,18,58,15
  41.     CONTROL         "&Dash",ID_LINEDASH,"Button",BS_AUTORADIOBUTTON,11,
  42.                     36,58,15
  43.     CONTROL         "Da&sh-Dot-Dot",ID_LINEDASHDOTDOT,"Button",
  44.                     BS_AUTORADIOBUTTON,11,52,58,15
  45.     CONTROL         "D&ot",ID_LINEDOT,"Button",BS_AUTORADIOBUTTON,74,
  46.                     15,44,15
  47.     CONTROL         "D&ash-Dot",ID_LINEDASHDOT,"Button",
  48.                     BS_AUTORADIOBUTTON,74,31,44,15
  49.     GROUPBOX        "Colors",ID_GROUPCOLORS,129,3,89,73
  50.     PUSHBUTTON      "&Background",ID_COLORBACK,147,17,54,20
  51.     PUSHBUTTON      "&Line",ID_COLORLINE,147,46,54,20
  52. END
  53.  
  54.  
  55.  
  56. VS_VERSION_INFO VERSIONINFO
  57.  FILEVERSION        1,0,0,0
  58.  PRODUCTVERSION     1,0,0,0
  59.  FILEFLAGSMASK      VS_FFI_FILEFLAGSMASK
  60. #ifndef DEBUG
  61.  FILEFLAGS          0
  62. #else
  63.  FILEFLAGS          VS_FF_DEBUG | VS_FF_PRERELEASE
  64. #endif
  65. #ifdef WIN32
  66.  FILEOS             VOS_NT_WINDOWS32
  67. #else
  68.  FILEOS             VOS_DOS_WINDOWS16
  69. #endif
  70.  FILETYPE           VFT_DLL
  71.  FILESUBTYPE        VFT_UNKNOWN
  72.  
  73.  BEGIN
  74.    BLOCK "StringFileInfo"
  75.     BEGIN
  76.     #ifdef UNICODE
  77.      BLOCK "040904B0" // Lang=US English, CharSet=Unicode
  78.     #else
  79.      BLOCK "040904E4" // Lang=US English, CharSet=Windows Multilingual
  80.     #endif
  81.       BEGIN
  82.        VALUE "CompanyName",     "Microsoft Corporation\0", "\0"
  83.        VALUE "FileDescription", "Polyline Property Page", "\0"
  84.        VALUE "FileVersion",     "1.00\0", "\0"
  85.        VALUE "InternalName",    "POLYPROP.DLL", "\0"
  86.        VALUE "LegalCopyright",  "Copyright \251 1993-1995 Microsoft Corp.", "\0"
  87.        VALUE "OriginalFilename","POLYPROP.DLL", "\0"
  88.        VALUE "ProductName",     "Polyline Property Page", "\0"
  89.        VALUE "ProductVersion",  "1.00\0"
  90.       END
  91.    END
  92.  
  93.    BLOCK "VarFileInfo"
  94.     BEGIN
  95.     #ifdef UNICODE
  96.      VALUE "Translation", 0x409, 1200  //English (0x409), Unicode (1200)
  97.     #else
  98.      VALUE "Translation", 0x409, 1252  //English (0x409), ANSI (1252)
  99.     #endif
  100.     END 
  101.  END
  102.