ScrollerTest.rc
Upload User: zengj883
Upload Date: 2013-02-03
Package Size: 670k
Code Size: 6k
Development Platform:

C/C++

  1. //Microsoft Developer Studio generated resource script.
  2. //
  3. #include "resource.h"
  4. #define APSTUDIO_READONLY_SYMBOLS
  5. /////////////////////////////////////////////////////////////////////////////
  6. //
  7. // Generated from the TEXTINCLUDE 2 resource.
  8. //
  9. #include "afxres.h"
  10. /////////////////////////////////////////////////////////////////////////////
  11. #undef APSTUDIO_READONLY_SYMBOLS
  12. /////////////////////////////////////////////////////////////////////////////
  13. // English (U.S.) resources
  14. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  15. #ifdef _WIN32
  16. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  17. #pragma code_page(1252)
  18. #endif //_WIN32
  19. #ifdef APSTUDIO_INVOKED
  20. /////////////////////////////////////////////////////////////////////////////
  21. //
  22. // TEXTINCLUDE
  23. //
  24. 1 TEXTINCLUDE MOVEABLE PURE 
  25. BEGIN
  26.     "resource.h"
  27. END
  28. 2 TEXTINCLUDE MOVEABLE PURE 
  29. BEGIN
  30.     "#include ""afxres.h""rn"
  31.     ""
  32. END
  33. 3 TEXTINCLUDE MOVEABLE PURE 
  34. BEGIN
  35.     "#define _AFX_NO_SPLITTER_RESOURCESrn"
  36.     "#define _AFX_NO_OLE_RESOURCESrn"
  37.     "#define _AFX_NO_TRACKER_RESOURCESrn"
  38.     "#define _AFX_NO_PROPERTY_RESOURCESrn"
  39.     "rn"
  40.     "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)rn"
  41.     "LANGUAGE 9, 1rn"
  42.     "#pragma code_page(1252)rn"
  43.     "#include ""res\ScrollerTest.rc2""  // non-Microsoft Visual C++ edited resourcesrn"
  44.     "#include ""afxres.rc""         // Standard componentsrn"
  45.     "#endifrn"
  46.     ""
  47. END
  48. #endif    // APSTUDIO_INVOKED
  49. /////////////////////////////////////////////////////////////////////////////
  50. //
  51. // Icon
  52. //
  53. // Icon with lowest ID value placed first to ensure application icon
  54. // remains consistent on all systems.
  55. IDR_MAINFRAME           ICON    DISCARDABLE     "res\ScrollerTest.ico"
  56. /////////////////////////////////////////////////////////////////////////////
  57. //
  58. // Dialog
  59. //
  60. IDD_SCROLLERTEST_DIALOG DIALOGEX 0, 0, 320, 200
  61. STYLE DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CLIPCHILDREN | WS_CAPTION | 
  62.     WS_SYSMENU | WS_THICKFRAME
  63. EXSTYLE WS_EX_APPWINDOW
  64. CAPTION "Scroller Test"
  65. FONT 8, "MS Shell Dlg", 0, 0, 0x1
  66. BEGIN
  67. END
  68. IDD_TIPS DIALOGEX 0, 0, 156, 48
  69. STYLE DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CLIPCHILDREN | WS_CAPTION
  70. EXSTYLE WS_EX_PALETTEWINDOW
  71. CAPTION "Tips:"
  72. FONT 8, "MS Shell Dlg", 400, 0, 0x1
  73. BEGIN
  74. END
  75. #ifndef _MAC
  76. /////////////////////////////////////////////////////////////////////////////
  77. //
  78. // Version
  79. //
  80. VS_VERSION_INFO VERSIONINFO
  81.  FILEVERSION 1,0,0,1
  82.  PRODUCTVERSION 1,0,0,1
  83.  FILEFLAGSMASK 0x3fL
  84. #ifdef _DEBUG
  85.  FILEFLAGS 0x1L
  86. #else
  87.  FILEFLAGS 0x0L
  88. #endif
  89.  FILEOS 0x4L
  90.  FILETYPE 0x1L
  91.  FILESUBTYPE 0x0L
  92. BEGIN
  93.     BLOCK "StringFileInfo"
  94.     BEGIN
  95.         BLOCK "040904e4"
  96.         BEGIN
  97.             VALUE "CompanyName", "TODO: <Company name>"
  98.             VALUE "FileDescription", "TODO: <File description>"
  99.             VALUE "FileVersion", "1.0.0.1"
  100.             VALUE "InternalName", "ScrollerTest.exe"
  101.             VALUE "LegalCopyright", "TODO: (c) <Company name>.  All rights reserved."
  102.             VALUE "OriginalFilename", "ScrollerTest.exe"
  103.             VALUE "ProductName", "TODO: <Product name>"
  104.             VALUE "ProductVersion", "1.0.0.1"
  105.         END
  106.     END
  107.     BLOCK "VarFileInfo"
  108.     BEGIN
  109.         VALUE "Translation", 0x409, 1252
  110.     END
  111. END
  112. #endif    // !_MAC
  113. /////////////////////////////////////////////////////////////////////////////
  114. //
  115. // DESIGNINFO
  116. //
  117. #ifdef APSTUDIO_INVOKED
  118. GUIDELINES DESIGNINFO MOVEABLE PURE 
  119. BEGIN
  120.     IDD_SCROLLERTEST_DIALOG, DIALOG
  121.     BEGIN
  122.         LEFTMARGIN, 7
  123.         RIGHTMARGIN, 313
  124.         TOPMARGIN, 7
  125.         BOTTOMMARGIN, 193
  126.     END
  127.     IDD_TIPS, DIALOG
  128.     BEGIN
  129.         LEFTMARGIN, 7
  130.         RIGHTMARGIN, 149
  131.         TOPMARGIN, 7
  132.         BOTTOMMARGIN, 41
  133.     END
  134. END
  135. #endif    // APSTUDIO_INVOKED
  136. /////////////////////////////////////////////////////////////////////////////
  137. //
  138. // RT_MANIFEST
  139. //
  140. IDR_MANIFEST            RT_MANIFEST MOVEABLE PURE "res\ScrollerTest.manifest"
  141. /////////////////////////////////////////////////////////////////////////////
  142. //
  143. // Bitmap
  144. //
  145. IDB_SCROLLER            BITMAP  MOVEABLE PURE   "res\Scroller.bmp"
  146. IDB_BACKGROUND2         BITMAP  MOVEABLE PURE   "res\texture.BMP"
  147. IDB_BACKGROUND          BITMAP  MOVEABLE PURE   "res\flowers.bmp"
  148. /////////////////////////////////////////////////////////////////////////////
  149. //
  150. // String Table
  151. //
  152. STRINGTABLE DISCARDABLE 
  153. BEGIN
  154.     IDS_INTRO               "Motivation:nWell... i was bored the other day, and not wanting to do anything necessary, decided to write a little autoscroller.  It turned out quite nicely, so i'm posting it here in the off chance it might be useful to someone else.  nnDescription:nAn autoscroller is a control that displays text, scrolling it automatically at a pre-determined speed.  They are generally used for displaying credits in about dialogs, or other such trivial tasks; by design they are not friendly enough to be used for displaying important things, since users will be frustrated if they read faster or slower than the text is scrolled.  My scroller has an optional scrollbar though, just to make it easier for such users should it ever be used to display text they will actually want to read.nnnnnnnSee ScrollerTest.html for the rest.nHave fun!nnnnnn"
  155. END
  156. #endif    // English (U.S.) resources
  157. /////////////////////////////////////////////////////////////////////////////
  158. #ifndef APSTUDIO_INVOKED
  159. /////////////////////////////////////////////////////////////////////////////
  160. //
  161. // Generated from the TEXTINCLUDE 3 resource.
  162. //
  163. #define _AFX_NO_SPLITTER_RESOURCES
  164. #define _AFX_NO_OLE_RESOURCES
  165. #define _AFX_NO_TRACKER_RESOURCES
  166. #define _AFX_NO_PROPERTY_RESOURCES
  167. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  168. LANGUAGE 9, 1
  169. #pragma code_page(1252)
  170. #include "resScrollerTest.rc2"  // non-Microsoft Visual C++ edited resources
  171. #include "afxres.rc"         // Standard components
  172. #endif
  173. /////////////////////////////////////////////////////////////////////////////
  174. #endif    // not APSTUDIO_INVOKED