Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

314 lines
13 KiB

  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. #define IDC_STATIC -1
  10. #include <windows.h>
  11. #include <scrnsave.h>
  12. #include <ntverp.h>
  13. #define VER_INTERNALNAME_STR "Swoosh"
  14. #define VER_ORIGINALFILENAME_STR "Swoosh"
  15. #define VER_FILEDESCRIPTION_STR "Direct3D Swoosh Screen Saver"
  16. #define VER_FILETYPE VFT_APP
  17. #define VER_FILESUBTYPE VFT2_UNKNOWN
  18. #include "common.ver"
  19. /////////////////////////////////////////////////////////////////////////////
  20. #undef APSTUDIO_READONLY_SYMBOLS
  21. /////////////////////////////////////////////////////////////////////////////
  22. // English (U.S.) resources
  23. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  24. #ifdef _WIN32
  25. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  26. #pragma code_page(1252)
  27. #endif //_WIN32
  28. /////////////////////////////////////////////////////////////////////////////
  29. //
  30. // Dialog
  31. //
  32. IDD_SINGLEMONITORSETTINGS DIALOG DISCARDABLE 0, 0, 255, 170
  33. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  34. CAPTION "Display Settings"
  35. FONT 8, "MS Shell Dlg"
  36. BEGIN
  37. GROUPBOX "Video adapter",IDC_STATIC,7,7,241,69
  38. LTEXT "Name:",IDC_STATIC,13,18,33,8
  39. LTEXT "",IDC_ADAPTERNAME,57,18,159,8
  40. LTEXT "Rendering:",IDC_STATIC,13,31,36,8
  41. LTEXT "",IDC_RENDERING,57,31,130,17
  42. PUSHBUTTON "&Help",IDC_MOREINFO,194,33,50,14
  43. CONTROL "&Disable hardware 3D rendering",IDC_DISABLEHW,"Button",
  44. BS_AUTOCHECKBOX | WS_TABSTOP,14,54,215,10
  45. GROUPBOX "Display mode",IDC_DISPLAYMODEBOX,7,84,241,55
  46. LTEXT "Display &mode for this video adapter:",IDC_MODESSTATIC,
  47. 13,95,126,8
  48. COMBOBOX IDC_MODESCOMBO,144,93,100,133,CBS_DROPDOWNLIST |
  49. WS_VSCROLL | WS_TABSTOP
  50. LTEXT "Note: The Automatic display mode finds a mode that works well with your current screen saver settings and video adapter.",
  51. IDC_DISPLAYMODENOTE,13,109,227,27
  52. LTEXT "Automatic",IDC_AUTOMATIC,184,126,32,8,NOT WS_VISIBLE
  53. LTEXT "%d by %d, %d bit color",IDC_MODEFMT,13,152,71,8,NOT
  54. WS_VISIBLE
  55. DEFPUSHBUTTON "OK",IDOK,143,148,50,14
  56. PUSHBUTTON "Cancel",IDCANCEL,197,148,50,14
  57. END
  58. IDD_MULTIMONITORSETTINGS DIALOG DISCARDABLE 0, 0, 270, 236
  59. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  60. CAPTION "Display Settings"
  61. FONT 8, "MS Shell Dlg"
  62. BEGIN
  63. LTEXT "Monitor %d",IDC_TABNAMEFMT,214,8,32,8,NOT WS_VISIBLE
  64. GROUPBOX "Video adapter",IDC_STATIC,13,23,244,65
  65. LTEXT "Name:",IDC_STATIC,19,35,40,8
  66. LTEXT "",IDC_ADAPTERNAME,65,35,168,8
  67. LTEXT "Rendering:",IDC_STATIC,19,48,40,8
  68. LTEXT "",IDC_RENDERING,65,48,132,17
  69. PUSHBUTTON "&Help",IDC_MOREINFO,202,49,50,14
  70. CONTROL "&Disable hardware 3D rendering on this monitor",
  71. IDC_DISABLEHW,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,19,
  72. 71,215,10
  73. GROUPBOX "Monitor usage",IDC_SCREENUSAGEBOX,13,94,244,44
  74. CONTROL "Display &screen saver on this monitor",IDC_RENDER,
  75. "Button",BS_AUTORADIOBUTTON,19,107,200,10
  76. CONTROL "Display &nothing on this monitor",IDC_LEAVEBLACK,"Button",
  77. BS_AUTORADIOBUTTON,19,120,200,10
  78. GROUPBOX "Display mode",IDC_DISPLAYMODEBOX,13,146,244,55
  79. LTEXT "Display &mode for this video adapter:",IDC_MODESSTATIC,
  80. 19,158,126,8
  81. COMBOBOX IDC_MODESCOMBO,152,156,100,133,CBS_DROPDOWNLIST |
  82. WS_VSCROLL | WS_TABSTOP
  83. LTEXT "Note: The Automatic display mode finds a mode that works well with your current screen saver settings and video adapter.",
  84. IDC_DISPLAYMODENOTE,19,173,232,22
  85. LTEXT "Automatic",IDC_AUTOMATIC,193,182,32,8,NOT WS_VISIBLE
  86. LTEXT "%d by %d, %d bit color",IDC_MODEFMT,22,221,71,8,NOT
  87. WS_VISIBLE
  88. DEFPUSHBUTTON "OK",IDOK,159,216,50,14
  89. PUSHBUTTON "Cancel",IDCANCEL,213,216,50,14
  90. CONTROL "Tab1",IDC_MONITORSTAB,"SysTabControl32",WS_TABSTOP,7,7,
  91. 256,201
  92. END
  93. /////////////////////////////////////////////////////////////////////////////
  94. //
  95. // DESIGNINFO
  96. //
  97. #ifdef APSTUDIO_INVOKED
  98. GUIDELINES DESIGNINFO DISCARDABLE
  99. BEGIN
  100. IDD_SINGLEMONITORSETTINGS, DIALOG
  101. BEGIN
  102. LEFTMARGIN, 7
  103. TOPMARGIN, 7
  104. BOTTOMMARGIN, 71
  105. END
  106. IDD_MULTIMONITORSETTINGS, DIALOG
  107. BEGIN
  108. LEFTMARGIN, 7
  109. RIGHTMARGIN, 242
  110. TOPMARGIN, 7
  111. BOTTOMMARGIN, 186
  112. END
  113. END
  114. #endif // APSTUDIO_INVOKED
  115. /////////////////////////////////////////////////////////////////////////////
  116. //
  117. // Dialog
  118. //
  119. IDD_SETTINGS DIALOG DISCARDABLE 0, 0, 172, 241
  120. STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION |
  121. WS_SYSMENU
  122. CAPTION "Swoosh Settings"
  123. FONT 8, "MS Shell Dlg"
  124. BEGIN
  125. DEFPUSHBUTTON "OK",IDOK,28,215,50,14
  126. PUSHBUTTON "Cancel",IDCANCEL,93,215,50,14
  127. GROUPBOX "Colour One",IDC_STATIC,5,5,75,45
  128. CONTROL "Multi",IDC_COLOUR1_MULTI,"Button",BS_AUTORADIOBUTTON |
  129. WS_GROUP,10,15,30,15
  130. CONTROL "Fixed",IDC_COLOUR1_FIXED,"Button",BS_AUTORADIOBUTTON,10,
  131. 30,30,15
  132. PUSHBUTTON "Pick...",IDC_COLOUR1_PICK,45,30,30,15
  133. GROUPBOX "Colour Two",IDC_STATIC,90,5,75,45
  134. CONTROL "Multi",IDC_COLOUR2_MULTI,"Button",BS_AUTORADIOBUTTON |
  135. WS_GROUP,95,15,30,15
  136. CONTROL "Fixed",IDC_COLOUR2_FIXED,"Button",BS_AUTORADIOBUTTON,95,
  137. 30,30,15
  138. PUSHBUTTON "Pick...",IDC_COLOUR2_PICK,130,30,30,15
  139. CONTROL "Slider1",IDC_COLOUR_MIX,"msctls_trackbar32",TBS_BOTH |
  140. TBS_NOTICKS | WS_TABSTOP,45,55,80,15
  141. LTEXT "Colour One",IDC_STATIC,5,55,40,15,SS_CENTERIMAGE
  142. RTEXT "Colour Two",IDC_STATIC,125,55,40,15,SS_CENTERIMAGE
  143. CONTROL "Slider2",IDC_ROLL_RATE,"msctls_trackbar32",TBS_BOTH |
  144. TBS_NOTICKS | WS_TABSTOP,45,80,120,15
  145. LTEXT "Roll rate",IDC_STATIC,5,80,35,15,SS_CENTERIMAGE
  146. CONTROL "Slider2",IDC_YAW_RATE,"msctls_trackbar32",TBS_BOTH |
  147. TBS_NOTICKS | WS_TABSTOP,45,100,120,15
  148. LTEXT "Yaw speed",IDC_STATIC,5,100,40,15,SS_CENTERIMAGE
  149. CONTROL "Slider2",IDC_FLOW_RATE,"msctls_trackbar32",TBS_BOTH |
  150. TBS_NOTICKS | WS_TABSTOP,45,120,120,15
  151. LTEXT "Flow rate",IDC_STATIC,5,120,40,15,SS_CENTERIMAGE
  152. CONTROL "Slider2",IDC_PARTICLE_SIZE,"msctls_trackbar32",TBS_BOTH |
  153. TBS_NOTICKS | WS_TABSTOP,45,140,120,15
  154. LTEXT "Particle size",IDC_STATIC,5,140,40,15,SS_CENTERIMAGE
  155. CONTROL "Slider2",IDC_NUM_PARTICLES,"msctls_trackbar32",TBS_BOTH |
  156. TBS_NOTICKS | WS_TABSTOP,45,160,120,15
  157. LTEXT "Density",IDC_STATIC,5,160,40,15,SS_CENTERIMAGE
  158. PUSHBUTTON "Display Settings...",IDC_SCREEN_SETTINGS,53,185,65,15
  159. END
  160. /////////////////////////////////////////////////////////////////////////////
  161. //
  162. // DESIGNINFO
  163. //
  164. #ifdef APSTUDIO_INVOKED
  165. GUIDELINES DESIGNINFO DISCARDABLE
  166. BEGIN
  167. IDD_SETTINGS, DIALOG
  168. BEGIN
  169. LEFTMARGIN, 7
  170. RIGHTMARGIN, 165
  171. TOPMARGIN, 7
  172. BOTTOMMARGIN, 234
  173. END
  174. END
  175. #endif // APSTUDIO_INVOKED
  176. /////////////////////////////////////////////////////////////////////////////
  177. //
  178. // Bitmap
  179. //
  180. IDB_BLOB BITMAP DISCARDABLE "Blob.bmp"
  181. /////////////////////////////////////////////////////////////////////////////
  182. //
  183. // String Table
  184. //
  185. STRINGTABLE PRELOAD DISCARDABLE
  186. BEGIN
  187. IDS_ERR_GENERIC "There was an unspecified problem with this screen saver."
  188. IDS_ERR_NODIRECT3D "Direct3D 8.0 could not be initialized. Please install the latest version of DirectX."
  189. IDS_ERR_NOWINDOWEDHAL "Could not initialize the screen saver."
  190. IDS_ERR_CREATEDEVICEFAILED "Could not create the Direct3D device."
  191. IDS_ERR_NOCOMPATIBLEDEVICES
  192. "Could not find any compatible Direct3D devices."
  193. IDS_ERR_NOHARDWAREDEVICE
  194. "No hardware-accelerated Direct3D devices were found."
  195. IDS_ERR_HALNOTCOMPATIBLE
  196. "This screen saver requires functionality that is not available on your Direct3D hardware accelerator."
  197. IDS_ERR_NOHALTHISMODE "This screen saver requires functionality that is not available on your Direct3D hardware accelerator with the current desktop display settings."
  198. IDS_ERR_MEDIANOTFOUND "Could not load required media."
  199. IDS_ERR_RESIZEFAILED "Could not reset the Direct3D device."
  200. IDS_ERR_OUTOFMEMORY "Not enough memory."
  201. IDS_ERR_OUTOFVIDEOMEMORY "Not enough video memory."
  202. IDS_ERR_NOPREVIEW "No preview available"
  203. END
  204. STRINGTABLE DISCARDABLE
  205. BEGIN
  206. IDS_INFO_GOODHAL "This video adapter supports hardware 3D rendering. This screen saver can be displayed on this monitor."
  207. IDS_INFO_BADHAL_GOODSW "This video adapter supports hardware 3D rendering, but this screensaver requires functionality not available in hardware. A software renderer will be used instead. This screen saver can be displayed on this monitor."
  208. IDS_INFO_BADHAL_BADSW "This video adapter supports hardware 3D rendering, but this screensaver requires functionality not available in hardware or software. This screen saver cannot be displayed on this monitor."
  209. IDS_INFO_BADHAL_NOSW "This video adapter supports hardware 3D rendering, but this screensaver requires functionality not available in hardware. No software renderer is available. This screen saver cannot be displayed on this monitor."
  210. IDS_INFO_NOHAL_GOODSW "This video adapter does not support hardware 3D rendering. A software renderer will be used instead. This screen saver can be displayed on this monitor."
  211. IDS_INFO_NOHAL_BADSW "This video adapter does not support hardware 3D rendering. This screensaver requires functionality not available in the software renderer. This screen saver cannot be displayed on this monitor."
  212. IDS_INFO_NOHAL_NOSW "This video adapter does not support hardware 3D rendering. No software renderer is available. This screen saver cannot be displayed on this monitor."
  213. IDS_INFO_DISABLEDHAL_GOODSW
  214. "The video adapter supports hardware 3D rendering, but it has been disabled. A software renderer will be used instead. This screen saver can be displayed on this monitor."
  215. END
  216. STRINGTABLE DISCARDABLE
  217. BEGIN
  218. IDS_INFO_DISABLEDHAL_BADSW
  219. "This video adapter supports hardware 3D rendering, but it has been disabled. This screensaver requires functionality not available in the software renderer. This screen saver cannot be displayed on this monitor."
  220. IDS_INFO_DISABLEDHAL_NOSW
  221. "This video adapter supports hardware 3D rendering, but it has been disabled. No software renderer is available. This screen saver cannot be displayed on this monitor."
  222. IDS_RENDERING_HAL "The screen saver can use hardware 3D rendering on this monitor."
  223. IDS_RENDERING_SW "The screen saver can use software 3D rendering on this monitor."
  224. IDS_RENDERING_NONE "The screen saver cannot be displayed on this monitor."
  225. END
  226. #ifdef APSTUDIO_INVOKED
  227. /////////////////////////////////////////////////////////////////////////////
  228. //
  229. // TEXTINCLUDE
  230. //
  231. 1 TEXTINCLUDE DISCARDABLE
  232. BEGIN
  233. "resource.h\0"
  234. END
  235. 2 TEXTINCLUDE DISCARDABLE
  236. BEGIN
  237. "#define IDC_STATIC -1\r\n"
  238. "#include <windows.h>\r\n"
  239. "#include <scrnsave.h>\r\n"
  240. "#include <ntverp.h>\r\n"
  241. "#define VER_INTERNALNAME_STR ""Swoosh""\r\n"
  242. "#define VER_ORIGINALFILENAME_STR ""Swoosh""\r\n"
  243. "#define VER_FILEDESCRIPTION_STR ""Direct3D Swoosh Screen Saver""\r\n"
  244. "#define VER_FILETYPE VFT_APP\r\n"
  245. "#define VER_FILESUBTYPE VFT2_UNKNOWN\r\n"
  246. "#include ""common.ver""\r\n"
  247. "\r\n"
  248. "\r\n"
  249. "\0"
  250. END
  251. 3 TEXTINCLUDE DISCARDABLE
  252. BEGIN
  253. "\r\n"
  254. "\0"
  255. END
  256. #endif // APSTUDIO_INVOKED
  257. /////////////////////////////////////////////////////////////////////////////
  258. //
  259. // Icon
  260. //
  261. // Icon with lowest ID value placed first to ensure application icon
  262. // remains consistent on all systems.
  263. IDI_ICON ICON DISCARDABLE "app.ico"
  264. #endif // English (U.S.) resources
  265. /////////////////////////////////////////////////////////////////////////////
  266. #ifndef APSTUDIO_INVOKED
  267. /////////////////////////////////////////////////////////////////////////////
  268. //
  269. // Generated from the TEXTINCLUDE 3 resource.
  270. //
  271. /////////////////////////////////////////////////////////////////////////////
  272. #endif // not APSTUDIO_INVOKED