Source code of Windows XP (NT5)
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.

251 lines
13 KiB

  1. /////////////////////////////////////////////////////////////////////////
  2. //
  3. // Generated from the TEXTINCLUDE 2 resource.
  4. //
  5. #include "windows.h"
  6. #include "commctrl.h"
  7. #include "deskid.h"
  8. #include "desk.h"
  9. /////////////////////////////////////////////////////////////////////////////////////
  10. //////////////////////////////////////////////////////////////////////////////
  11. //
  12. // Icon
  13. //
  14. IDS_ICON ICON DISCARDABLE "DESK.ICO"
  15. IDI_DISPLAY ICON PRELOAD DISCARDABLE "desk.ico"
  16. //////////////////////////////////////////////////////////////////////////////
  17. //
  18. // Bitmap
  19. //
  20. IDB_ENERGYSTAR BITMAP DISCARDABLE "ENERGYST.BMP"
  21. //////////////////////////////////////////////////////////////////////////////
  22. //
  23. // Dialog
  24. //
  25. DLG_BACKGROUND DIALOGEX DISCARDABLE 0, 0, 252, 218
  26. STYLE DS_MODALFRAME|(DS_SETFONT|DS_FIXEDSYS) | DS_NOIDLEMSG | DS_3DLOOK | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  27. CAPTION "Background"
  28. FONT 8, "MS Shell Dlg"
  29. BEGIN
  30. GROUPBOX "&Pattern",IDC_NO_HELP_1,7,118,115,92
  31. LISTBOX IDC_PATLIST,13,130,103,42,LBS_SORT |
  32. LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
  33. PUSHBUTTON "&Edit Pattern...",IDC_EDITPAT,55,175,61,14
  34. GROUPBOX "&Wallpaper",IDC_NO_HELP_2,129,118,115,92
  35. LISTBOX IDC_WALLLIST,135,130,103,42,LBS_SORT |
  36. LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
  37. PUSHBUTTON "&Browse...",IDC_BROWSEWALL,177,175,61,14
  38. LTEXT "&Display:",IDC_TXT_DISPLAY,135,196,26,8
  39. RADIOBUTTON "&Tile",IDC_TILE,170,196,27,8,WS_GROUP
  40. RADIOBUTTON "&Center",IDC_CENTER,205,196,34,8
  41. CONTROL "",IDC_BACKPREV,"BackgroundPreview",WS_GROUP,63,4,125,107
  42. END
  43. //////////////////////////////////////////////////////////////////////////////
  44. //
  45. // String Table
  46. //
  47. STRINGTABLE DISCARDABLE
  48. BEGIN
  49. IDS_NAME "Display"
  50. IDS_INFO "Change the appearance of your desktop, such as the background, screen saver, colors, font sizes, and screen resolution."
  51. END
  52. STRINGTABLE DISCARDABLE
  53. BEGIN
  54. IDS_DISPLAY_TITLE "Display"
  55. IDS_DISPLAY_DISABLED "Your system administrator disabled the Display control panel."
  56. END
  57. STRINGTABLE DISCARDABLE
  58. BEGIN
  59. IDS_NONE "(None)"
  60. IDS_UNLISTEDPAT "Unlisted Pattern"
  61. IDS_BITMAPOPENERR "Bitmap Open Error"
  62. IDS_DIB_NOOPEN "Unable to open the file %s." //unused
  63. IDS_BROWSETITLE "Browsing for wallpaper"
  64. IDS_BROWSEFILTER "Bitmaps|*.bmp;*.dib|"
  65. END
  66. STRINGTABLE DISCARDABLE
  67. BEGIN
  68. IDS_DIB_INVALID "The file %s is not a valid bitmap file." //unused
  69. IDS_BADWALLPAPER "Windows cannot display the wallpaper you selected. Choose different wallpaper."
  70. END
  71. STRINGTABLE DISCARDABLE
  72. BEGIN
  73. IDS_PAT_REMOVE, "Removing the \042%s\042 pattern will permanently delete it from your disk. \n\nAre you sure you want to remove this pattern?"
  74. IDS_PAT_CHANGE, "The pattern \042%s\042 has changed.\n\nDo you want to save the changes to this pattern?"
  75. IDS_PAT_CREATE, "You have not saved the \042%s\042 pattern.\n\nDo you want to save it?"
  76. IDS_REMOVEPATCAPTION, "Confirm Pattern Removal"
  77. IDS_CHANGEPATCAPTION, "Unsaved Pattern"
  78. END
  79. STRINGTABLE DISCARDABLE
  80. BEGIN
  81. IDS_TAB_THEMES, "Themes"
  82. IDS_TAB_DESKTOP, "Desktop"
  83. IDS_TAB_SCREENSAVER, "Screen Saver"
  84. IDS_TAB_APPEARANCE, "Appearance"
  85. IDS_TAB_SETTINGS, "Settings "
  86. END
  87. // install2.c
  88. STRINGTABLE DISCARDABLE
  89. BEGIN
  90. ID_DSP_TXT_INSTALL_DRIVER "Installing Driver"
  91. ID_DSP_TXT_BAD_INF "The specified installation disk contains a driver that was written for a previous version of Windows. This release of Windows requires new video drivers be installed.\n\nPlease contact your hardware manufacturer to get a new driver installation diskette."
  92. ID_DSP_TXT_DRIVER_INSTALLED "The drivers were successfully installed.\n\n You must exit from the Display Properties window and reboot in order for the changes to take effect."
  93. ID_DSP_TXT_DRIVER_INSTALLED_FAILED "The drivers were not successfully installed. You may not have the required privileges to install a new driver."
  94. ID_DSP_TXT_NO_USE_UPGRADE "This device is only used during setup. You may not manually select and install this device.\n\nPlease choose another device."
  95. END
  96. // ocpage.cpp
  97. STRINGTABLE DISCARDABLE
  98. BEGIN
  99. ID_DSP_TXT_COMPATABLE_DEV "%ws compatible display adapter"
  100. MSG_SETTING_KB "%d KB"
  101. MSG_SETTING_MB "%d MB"
  102. ID_DSP_TXT_ADMIN_CHANGE "You do not have the required Administrative privilege to change these system settings. Please contact your Administrator."
  103. ID_DSP_TXT_COLOR "%d Colors"
  104. IDS_INTERLACED "Hertz, Interlaced"
  105. IDS_FREQ "Hertz"
  106. IDS_DEFFREQ "Use hardware default setting"
  107. IDS_COLOR_RED " Red "
  108. IDS_COLOR_GREEN " Green "
  109. IDS_COLOR_BLUE " Blue "
  110. IDS_COLOR_YELLOW " Yellow "
  111. IDS_COLOR_MAGENTA " Magenta "
  112. IDS_COLOR_CYAN " Cyan "
  113. IDS_PATTERN_HORZ " Thin horizontal lines "
  114. IDS_RED_SHADES " Red Gradient "
  115. IDS_GREEN_SHADES " Green Gradient "
  116. IDS_BLUE_SHADES " Blue Gradient "
  117. IDS_GRAY_SHADES " Gray Gradient "
  118. IDS_PATTERN_VERT " Thin vertical lines "
  119. ID_DSP_TXT_TEST_MODE "Testing Mode"
  120. ID_DSP_TXT_DID_TEST_WARNING "The new mode will be tested. Your graphics adapter will be set to the new mode temporarily so you can determine whether it works properly. Please press OK and then wait 5 seconds."
  121. ID_DSP_TXT_DID_TEST_WARNING_LONG "The new mode will be tested. Your graphics adapter will be set to the new mode temporarily so you can determine whether it works properly. Please press OK and then wait 10 seconds."
  122. ID_DSP_TXT_DID_TEST_RESULT "Did you see the test bitmap properly?"
  123. ID_DSP_TXT_TEST_FAILED "The screen was not visible due to a limitation of your video card or display monitor. Please try different settings for your display."
  124. IDS_DISPLAY_WIZ_TITLE "Desktop Area and Colors"
  125. IDS_DISPLAY_WIZ_SUBTITLE "You can increase or decrease the desktop area to change the amount of information visible on your screen."
  126. ID_DSP_TXT_XBYY "%d by %d pixels"
  127. END
  128. // setupact.log messages
  129. STRINGTABLE DISCARDABLE
  130. BEGIN
  131. IDS_SETUPLOG_MSG_000, "desk.cpl: "
  132. IDS_SETUPLOG_MSG_004, "Setting DeviceDesc to %s"
  133. IDS_SETUPLOG_MSG_006, "Setting MFG to %s"
  134. IDS_SETUPLOG_MSG_008, "Disabling the following service: %s"
  135. IDS_SETUPLOG_MSG_009, "Removing a devnode without a service"
  136. IDS_SETUPLOG_MSG_010, "Removing the following devnode: %s"
  137. IDS_SETUPLOG_MSG_011, "Could not remove the devnode itself, %d"
  138. IDS_SETUPLOG_MSG_012, "Could not remove the devnode itself (2), %d"
  139. IDS_SETUPLOG_MSG_013, "Disabled %d legacy devices in %d tries"
  140. IDS_SETUPLOG_MSG_014, "No drivers list, allow upgrade"
  141. IDS_SETUPLOG_MSG_015, "No drivers list, fail upgrade"
  142. IDS_SETUPLOG_MSG_016, "Using DriverList %s"
  143. IDS_SETUPLOG_MSG_017, "No DriversList entries, allow upgrade"
  144. IDS_SETUPLOG_MSG_018, "No DriversList entries, fail upgrade"
  145. IDS_SETUPLOG_MSG_019, "Could not open any devices of the display class, allow upgrade"
  146. IDS_SETUPLOG_MSG_020, "Could not open any devices of the display class, fail upgrade"
  147. IDS_SETUPLOG_MSG_021, "Found %d legacy devices"
  148. IDS_SETUPLOG_MSG_022, "Made a match, fail upgrade"
  149. IDS_SETUPLOG_MSG_023, "Made a match, allow upgrade"
  150. IDS_SETUPLOG_MSG_024, "No match found in DriversList %s, allow upgrade"
  151. IDS_SETUPLOG_MSG_025, "No match found in DriversList %s, fail upgrade"
  152. IDS_SETUPLOG_MSG_031, "CheckDatabase called on marked devnode, succeeding"
  153. IDS_SETUPLOG_MSG_032, "Could not find any hardware or compatible IDs for video device"
  154. IDS_SETUPLOG_MSG_033, "Could not open upgrade database"
  155. IDS_SETUPLOG_MSG_034, "No entries in %s"
  156. IDS_SETUPLOG_MSG_035, "Found a match of %s in the upgrade database"
  157. IDS_SETUPLOG_MSG_039, "Allowing install of video device"
  158. IDS_SETUPLOG_MSG_040, "Not allowing install of video device"
  159. IDS_SETUPLOG_MSG_041, "%s is not an NT compatible inf file"
  160. IDS_SETUPLOG_MSG_046, "Database did not allow upgrade"
  161. IDS_SETUPLOG_MSG_047, "SetupDiEnumDriverInfo (compat) didn't find any devices"
  162. IDS_SETUPLOG_MSG_048, "Devnode does not exist yet"
  163. IDS_SETUPLOG_MSG_057, "Returning 0x%08lx for function 0x%x"
  164. IDS_SETUPLOG_MSG_060, "Could not read XResolution value"
  165. IDS_SETUPLOG_MSG_062, "Could not read YResolution value (%s)"
  166. IDS_SETUPLOG_MSG_064, "Could not read VRefresh value (%s)"
  167. IDS_SETUPLOG_MSG_065, "Display unattended value named %s is unsupported"
  168. IDS_SETUPLOG_MSG_067, "Using an XResolution of %d and a YResolution of %d because either one or both were either missing or 0"
  169. IDS_SETUPLOG_MSG_068, "Using a VRefresh of %d because VRefresh was 0 or missing in the unattended file"
  170. IDS_SETUPLOG_MSG_069, "Using a BitsPerPel of %d because BitsPerPel was 0 or missing in the unattended file"
  171. IDS_SETUPLOG_MSG_075, "Could not open settings reg key"
  172. IDS_SETUPLOG_MSG_076, "Did not allow upgrade of video driver, not performing reg upgrade"
  173. IDS_SETUPLOG_MSG_096, "Could not read BitsPerPel value (%s)"
  174. IDS_SETUPLOG_MSG_097, "Could not remove all applet extensions"
  175. IDS_SETUPLOG_MSG_098, "Applet extension removed: %s"
  176. IDS_SETUPLOG_MSG_099, "Devnode is marked to be deleted. Do not allow install."
  177. IDS_SETUPLOG_MSG_100, "OcManager: wrong version."
  178. IDS_SETUPLOG_MSG_101, "OcManager: could not get the list of video devices."
  179. IDS_SETUPLOG_MSG_102, "OcManager: could not delete VideoUpgradeDisplaySettings key."
  180. IDS_SETUPLOG_MSG_103, "OcManager: could not create the device interface."
  181. IDS_SETUPLOG_MSG_104, "OcManager: could not create the device interface registry key."
  182. IDS_SETUPLOG_MSG_105, "OcManager: could not create the device interface registry subkey: %d"
  183. IDS_SETUPLOG_MSG_106, "OcManager: unattended BitsPerPel: %d"
  184. IDS_SETUPLOG_MSG_107, "OcManager: unattended XResolution: %d"
  185. IDS_SETUPLOG_MSG_108, "OcManager: unattended YResolution: %d"
  186. IDS_SETUPLOG_MSG_109, "OcManager: unattended VRefresh: %d"
  187. IDS_SETUPLOG_MSG_110, "OcManager: Could not get the count of physical devices"
  188. IDS_SETUPLOG_MSG_111, "OcManager: Could not open the physical device key"
  189. IDS_SETUPLOG_MSG_112, "OcManager: Could not get the count of logical devices"
  190. IDS_SETUPLOG_MSG_113, "OcManager: Could not find the device with the same bus location"
  191. IDS_SETUPLOG_MSG_114, "OcManager: Legacy migration could not be completed as there are at least 2 video devices in the system."
  192. IDS_SETUPLOG_MSG_115, "OcManager: Legacy migration could not be completed as no video device could be enumerated."
  193. IDS_SETUPLOG_MSG_116, "OcManager: Could not open the logical device key"
  194. IDS_SETUPLOG_MSG_117, "OcManager: AttachedToDesktop: %d"
  195. IDS_SETUPLOG_MSG_118, "OcManager: RelativeX: %d"
  196. IDS_SETUPLOG_MSG_119, "OcManager: RelativeY: %d"
  197. IDS_SETUPLOG_MSG_120, "OcManager: BitsPerPel: %d"
  198. IDS_SETUPLOG_MSG_121, "OcManager: XResolution: %d"
  199. IDS_SETUPLOG_MSG_122, "OcManager: YResolution: %d"
  200. IDS_SETUPLOG_MSG_123, "OcManager: VRefresh: %d"
  201. IDS_SETUPLOG_MSG_124, "OcManager: Flags: %d"
  202. IDS_SETUPLOG_MSG_125, "Returning 0x%08lx for function 0x%x and device %s"
  203. IDS_SETUPLOG_MSG_126 "%s failed with error 0x%08lx."
  204. IDS_SETUPLOG_MSG_127 "%s failed."
  205. IDS_SETUPLOG_MSG_128 "Could not create the video device registry key because %s failed."
  206. IDS_SETUPLOG_MSG_129, "OcManager: Use the preferred mode instead of the unattended settings."
  207. IDS_SETUPLOG_MSG_130, "OcManager: Use the preferred mode instead of the old settings."
  208. END
  209. //
  210. // HACK to work around versionning issues with IE files.
  211. //
  212. #undef NASHVILLE
  213. #include <ntverp.h>
  214. #define VER_FILETYPE VFT_DLL
  215. #define VER_FILESUBTYPE VFT_UNKNOWN
  216. #define VER_FILEDESCRIPTION_STR "Desktop Control Panel"
  217. #define VER_INTERNALNAME_STR "DESK"
  218. #define VER_ORIGINALFILENAME_STR "DESK.CPL"
  219. #include <common.ver>