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.

288 lines
12 KiB

  1. /******************************************************************************
  2. Source File: IcmUi.RC
  3. Resource Script for the Integrated Color Matching User Interface DLL
  4. Copyright (c) 1996 by Microsoft Corporation
  5. A Pretty Penny Enterprises Production
  6. Change History:
  7. 12-14-96 [email protected] Added this header to the .RC file
  8. originally generated by Developer Studio
  9. 01-07-97 [email protected] Changed Tabbed dialogs in Profile Mangement
  10. UI by widening and deepening text controls, and removing WS_VISIBLE
  11. ******************************************************************************/
  12. #include <Windows.H>
  13. #include <commctrl.h>
  14. #include "resource.h"
  15. #define IDC_STATIC -1
  16. /////////////////////////////////////////////////////////////////////////////
  17. //
  18. // Dialog
  19. //
  20. //
  21. // SetupColorMatch common dialog
  22. //
  23. #include <icmui.dlg>
  24. //
  25. // Internal Dialogs
  26. //
  27. ProfilePropertyPage DIALOG DISCARDABLE 0, 0, 226, 206
  28. STYLE DS_NOIDLEMSG | DS_3DLOOK | WS_CHILD
  29. FONT 8, "MS Shell Dlg"
  30. BEGIN
  31. LTEXT "Color Profile Description:",IDC_STATIC,8,12,175,10
  32. EDITTEXT ProfileDescription,20,26,190,24,ES_MULTILINE |
  33. ES_READONLY | NOT WS_BORDER | NOT WS_TABSTOP
  34. CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,8,50,210,1
  35. LTEXT "Color Profile Producer:",IDC_STATIC,8,58,175,10
  36. EDITTEXT ProfileProducerInfo,20,73,190,20,ES_MULTILINE |
  37. ES_READONLY | NOT WS_BORDER | NOT WS_TABSTOP
  38. CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,8,96,210,1
  39. LTEXT "Additional Information:",IDC_STATIC,8,104,175,10
  40. EDITTEXT AdditionalProfileInfo,20,118,190,30,ES_MULTILINE |
  41. ES_READONLY | NOT WS_BORDER | NOT WS_TABSTOP
  42. CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,8,150,210,1
  43. LTEXT "Microsoft Windows incorporates:",IDC_STATIC,8,158,175,10
  44. ICON DefaultIcon,CMMIcon,20,171,21,20,SS_SUNKEN
  45. LTEXT "Microsoft Color Management Software",CMMDescription,51,178,175,20
  46. END
  47. AssociateDevicePage DIALOG DISCARDABLE 0, 0, 230, 206
  48. STYLE DS_NOIDLEMSG | DS_3DLOOK | WS_CHILD
  49. FONT 8, "MS Shell Dlg"
  50. BEGIN
  51. ICON DefaultIcon,StatusIcon,7,11,21,20
  52. EDITTEXT ProfileFilename,35,17,190,8,ES_AUTOHSCROLL | ES_READONLY |
  53. NOT WS_BORDER | NOT WS_TABSTOP
  54. CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,7,35,213,1
  55. LTEXT "If the profile you are installing is for a device attached to your computer, associating the color profile with the appropriate device will increase the color profile's availability for use.",
  56. IDC_STATIC,10,42,210,30
  57. LTEXT "A&ssociated Devices:",DeviceListControlText,10,75,210,10
  58. LISTBOX DeviceListControl,10,85,210,100,LBS_SORT |
  59. LBS_NOINTEGRALHEIGHT | LBS_DISABLENOSCROLL | WS_VSCROLL |
  60. WS_TABSTOP
  61. DEFPUSHBUTTON "A&dd...",AddButton,116,190,50,14
  62. PUSHBUTTON "&Remove",RemoveButton,170,190,50,14
  63. END
  64. AddDeviceDialog DIALOG DISCARDABLE 0, 0, 262, 128
  65. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_CONTEXTHELP
  66. CAPTION "Add Device"
  67. FONT 8, "MS Shell Dlg"
  68. BEGIN
  69. LTEXT "Select one of the devices below to associate with your color profile. If none of the devices are appropriate, cancel and install without an association.",
  70. IDC_STATIC,7,7,248,17
  71. CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,7,28,247,1
  72. LTEXT "&Devices Available on this Computer:",
  73. DeviceListControlText,7,30,150,8
  74. LISTBOX DeviceListControl,7,41,248,56,LBS_SORT |
  75. LBS_NOINTEGRALHEIGHT | LBS_DISABLENOSCROLL | WS_VSCROLL |
  76. WS_TABSTOP
  77. CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,9,102,246,1
  78. DEFPUSHBUTTON "&Add",AddDeviceButton,25,107,50,14
  79. PUSHBUTTON "Cancel",IDCANCEL,88,107,50,14
  80. END
  81. PrinterUI DIALOG DISCARDABLE 0, 0, 255, 210
  82. STYLE WS_CHILD | WS_CAPTION
  83. CAPTION "Color Management"
  84. FONT 8, "MS Shell Dlg"
  85. BEGIN
  86. ICON DefaultIcon,PrinterUIIcon,7,11,21,20
  87. LTEXT "These settings let you associate color profile(s) with your color printer. Color profiles control the color on your printer based on the type of media being used and the printer configuration.",
  88. DescriptionText, 35,10,210,25
  89. CONTROL "A&utomatic:",AutoSelButton,"Button",BS_AUTORADIOBUTTON | WS_TABSTOP | WS_GROUP,11,48,48,10
  90. CONTROL "&Manual:",ManualSelButton,"Button",BS_AUTORADIOBUTTON | WS_TABSTOP,11,70,48,10
  91. LTEXT "Windows will automatically select the best color profile from the list of associated color profiles [Recommended]",
  92. AutoSelText,60,48,185,20
  93. LTEXT "Manually select the default color profile for all output from this device from the list of associated color profiles",
  94. ManualSelText,60,70,185,20
  95. LTEXT "Default color profile:",DefaultProfileText,60,90,73,10
  96. LTEXT "(Default Profile)",DefaultProfile,135,90,110,10
  97. CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,11,105,230,1
  98. LTEXT "Color &Profiles currently associated with this printer:",
  99. ProfileListControlText,11,112,230,10
  100. LISTBOX ProfileListControl,11,128,230,58,LBS_SORT | LBS_NOINTEGRALHEIGHT |
  101. LBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
  102. DEFPUSHBUTTON "A&dd...",AddButton,36,196,64,14
  103. PUSHBUTTON "&Remove",RemoveButton,106,196,64,14
  104. PUSHBUTTON "&Set As Default",DefaultButton,176,196,64,14
  105. END
  106. ScannerUI DIALOG DISCARDABLE 0, 0, 230, 199
  107. STYLE WS_CHILD | WS_CAPTION
  108. CAPTION "Color Management"
  109. FONT 8, "MS Shell Dlg"
  110. BEGIN
  111. ICON DefaultIcon,IDC_STATIC,7,11,21,20
  112. LTEXT "These settings let you add and remove color profile associations with your scanner/camera. This can affect the colors of your images.",
  113. IDC_STATIC,35,7,180,25
  114. LTEXT "Color &Profiles currently associated with this device:",
  115. ProfileListControlText,17,40,180,8
  116. LISTBOX ProfileListControl,16,51,198,124,LBS_SORT | LBS_NOINTEGRALHEIGHT |
  117. LBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
  118. DEFPUSHBUTTON "A&dd...",AddButton,83,180,64,14
  119. PUSHBUTTON "&Remove",RemoveButton,150,180,64,14
  120. END
  121. MonitorUI DIALOG DISCARDABLE 0, 0, 250, 213
  122. STYLE WS_CHILD | WS_CAPTION
  123. CAPTION "Color Management"
  124. FONT 8, "MS Shell Dlg"
  125. BEGIN
  126. ICON DefaultIcon,IDC_STATIC,7,11,18,20
  127. LTEXT "These settings let you select the default color profile for your monitor. This affects the colors that your monitor displays.",
  128. IDC_STATIC,35,12,210,17
  129. LTEXT "Current monitor:",MonitorNameText,9,43,50,10
  130. LTEXT "(Monitor Name)",MonitorName,84,43,160,10
  131. LTEXT "Default monitor profile:",DefaultProfileText,9,60,73,10
  132. LTEXT "(Default Profile)",DefaultProfile,84,60,160,10
  133. CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,9,77,237,1
  134. LTEXT "&Color profiles currently associated with this device:",ProfileListControlText,9,85,200,10
  135. LISTBOX ProfileListControl,9,97,237,85,LBS_SORT | LBS_NOINTEGRALHEIGHT |
  136. LBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
  137. DEFPUSHBUTTON "A&dd...",AddButton,9,190,77,14
  138. PUSHBUTTON "&Remove",RemoveButton,89,190,77,14
  139. PUSHBUTTON "&Set As Default",DefaultButton,169,190,77,14
  140. END
  141. /////////////////////////////////////////////////////////////////////////////
  142. //
  143. // Version
  144. //
  145. #ifdef PRIVATE_VERSION
  146. VS_VERSION_INFO VERSIONINFO
  147. FILEVERSION 1,0,0,1
  148. PRODUCTVERSION 1,0,0,1
  149. FILEFLAGSMASK 0x3fL
  150. #ifdef _DEBUG
  151. FILEFLAGS 0x1L
  152. #else
  153. FILEFLAGS 0x0L
  154. #endif
  155. FILEOS 0x40004L
  156. FILETYPE 0x1L
  157. FILESUBTYPE 0x0L
  158. BEGIN
  159. BLOCK "StringFileInfo"
  160. BEGIN
  161. BLOCK "040904b0"
  162. BEGIN
  163. VALUE "Comments", "A Pretty Penny Enterprises, Inc. Production\0"
  164. VALUE "CompanyName", "Microsoft Corporation\0"
  165. VALUE "FileDescription", "ICM 2.0 User Interfaces\0"
  166. VALUE "FileVersion", "1.0.0.1\0"
  167. VALUE "InternalName", "ICM 2.0 UI\0"
  168. VALUE "LegalCopyright", "Copyright � 1996 by Microsoft Corporation\0"
  169. VALUE "OriginalFilename", "IcmUi.Dll\0"
  170. VALUE "ProductName", "Integrated Color Matching User Interface\0"
  171. VALUE "ProductVersion", "1.0.0.1\0"
  172. END
  173. END
  174. BLOCK "VarFileInfo"
  175. BEGIN
  176. VALUE "Translation", 0x409, 1200
  177. END
  178. END
  179. #else
  180. #include <ntverp.h>
  181. #define VER_FILETYPE VFT_DLL
  182. #define VER_FILESUBTYPE VFT2_UNKNOWN
  183. #define VER_FILEDESCRIPTION_STR "Microsoft Color Matching System User Interface DLL"
  184. #define VER_INTERNALNAME_STR "IcmUi.Dll"
  185. #include "common.ver"
  186. #endif
  187. /////////////////////////////////////////////////////////////////////////////
  188. //
  189. // Icon
  190. //
  191. // Icon with lowest ID value placed first to ensure application icon
  192. // remains consistent on all systems.
  193. DefaultIcon ICON DISCARDABLE "ICMDefau.Ico"
  194. UninstalledIcon ICON DISCARDABLE "Uninstal.ico"
  195. /////////////////////////////////////////////////////////////////////////////
  196. //
  197. // String Table
  198. //
  199. STRINGTABLE DISCARDABLE
  200. BEGIN
  201. ShortInstallString "Install"
  202. ShortUninstallString "Uninstall"
  203. AdvancedString "Advanced"
  204. InstallProfileMenuString "&Install Profile"
  205. UninstallProfileMenuString "&Uninstall Profile"
  206. AssociateMenuString "&Associate..."
  207. InstallProfileContextMenuString "Install this profile"
  208. InstallMultiProfileContextMenuString "Install these profiles"
  209. UninstallProfileContextMenuString "Uninstall this profile"
  210. UninstallMultiProfileContextMenuString "Uninstall these profiles"
  211. AssociateContextMenuString "Profile device associations"
  212. ProfilePropertyString "Profile Information"
  213. AssociatePropertyString "Associate Device"
  214. MessageBoxTitle "Microsoft Color Management System"
  215. AddProfileAssociation "Add Profile Association"
  216. AddButtonText "A&dd"
  217. DefaultSourceString "sRGB Color Space"
  218. PerceptualString "Pictures"
  219. Occupied0 "Proof"
  220. Occupied1 "Graphics"
  221. Occupied2 "Match"
  222. ClassMonitorString "Monitor"
  223. ClassPrinterString "Printer"
  224. ClassScannerString "Scanner/Camera"
  225. ClassLinkString "Link"
  226. ClassAbstractString "Abstract"
  227. ClassColorSpaceString "ColorSpace"
  228. ClassNamedString "Named ColorSpace"
  229. NoDefaultProfile "You must select a default color profile for this monitor from the installed profiles."
  230. NoProfileString "<None>"
  231. NoPrintersInstalled "Printer Profile: (No Printers Installed)"
  232. NoAdditionalInfo "Additional information is not available."
  233. NotColorPrinter "Monochrome printer: No Color Management"
  234. InvalidProfileString "The profile you selected is not a valid color profile."
  235. MismatchDeviceType "%1 is a %2 color profile which cannot be associated with a %3."
  236. InstFailedWithName "An error occurred while installing %1. This is not a valid color profile."
  237. UninstFailedWithName "An error occurred while uninstalling %1."
  238. AssocFailedWithName "An error occurred while associating %1. This is not a valid color profile."
  239. DisassocFailedWithName "An error occurred while disassociating %1."
  240. UnsupportedProfile "An error has occurred: %1 doesn't support CMYK color profile %2."
  241. AskRemoveDefault "This is the default color profile. Are you sure you want to remove this color profile?"
  242. IccProfileFilterString "Color Profiles (*.icm;*.icc)"
  243. AllProfileFilterString "All Files (*.*)"
  244. TooManyFileSelected "Too many files selected, please select fewer files."
  245. FriendlyTypeName "ICC Profile"
  246. END
  247. /////////////////////////////////////////////////////////////////////////////