287 lines
12 KiB
Plaintext
287 lines
12 KiB
Plaintext
/******************************************************************************
|
||
|
||
Source File: IcmUi.RC
|
||
|
||
Resource Script for the Integrated Color Matching User Interface DLL
|
||
|
||
Copyright (c) 1996 by Microsoft Corporation
|
||
|
||
A Pretty Penny Enterprises Production
|
||
|
||
Change History:
|
||
12-14-96 a-robkj@microsoft.com Added this header to the .RC file
|
||
originally generated by Developer Studio
|
||
01-07-97 KjelgaardR@acm.org Changed Tabbed dialogs in Profile Mangement
|
||
UI by widening and deepening text controls, and removing WS_VISIBLE
|
||
|
||
******************************************************************************/
|
||
|
||
#include <Windows.H>
|
||
#include <commctrl.h>
|
||
#include "resource.h"
|
||
#define IDC_STATIC -1
|
||
|
||
|
||
|
||
// Dialog
|
||
|
||
|
||
// SetupColorMatch common dialog
|
||
|
||
|
||
#include <icmui.dlg>
|
||
|
||
|
||
// Internal Dialogs
|
||
|
||
ProfilePropertyPage DIALOG DISCARDABLE 0, 0, 226, 206
|
||
STYLE DS_NOIDLEMSG | DS_3DLOOK | WS_CHILD
|
||
FONT 8, "MS Shell Dlg"
|
||
BEGIN
|
||
LTEXT "Color Profile Description:",IDC_STATIC,8,12,175,10
|
||
EDITTEXT ProfileDescription,20,26,190,24,ES_MULTILINE |
|
||
ES_READONLY | NOT WS_BORDER | NOT WS_TABSTOP
|
||
CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,8,50,210,1
|
||
LTEXT "Color Profile Producer:",IDC_STATIC,8,58,175,10
|
||
EDITTEXT ProfileProducerInfo,20,73,190,20,ES_MULTILINE |
|
||
ES_READONLY | NOT WS_BORDER | NOT WS_TABSTOP
|
||
CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,8,96,210,1
|
||
LTEXT "Additional Information:",IDC_STATIC,8,104,175,10
|
||
EDITTEXT AdditionalProfileInfo,20,118,190,30,ES_MULTILINE |
|
||
ES_READONLY | NOT WS_BORDER | NOT WS_TABSTOP
|
||
CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,8,150,210,1
|
||
LTEXT "Microsoft Windows 2000 Incorporates:",IDC_STATIC,8,158,175,10
|
||
ICON DefaultIcon,CMMIcon,20,171,21,20,SS_SUNKEN
|
||
LTEXT "Microsoft Color Management Software",CMMDescription,51,178,175,20
|
||
END
|
||
|
||
AssociateDevicePage DIALOG DISCARDABLE 0, 0, 230, 206
|
||
STYLE DS_NOIDLEMSG | DS_3DLOOK | WS_CHILD
|
||
FONT 8, "MS Shell Dlg"
|
||
BEGIN
|
||
ICON DefaultIcon,StatusIcon,7,11,21,20
|
||
EDITTEXT ProfileFilename,35,17,190,8,ES_AUTOHSCROLL | ES_READONLY |
|
||
NOT WS_BORDER | NOT WS_TABSTOP
|
||
CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,7,35,213,1
|
||
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.",
|
||
IDC_STATIC,10,42,210,30
|
||
LTEXT "A&ssociated Devices:",DeviceListControlText,10,75,210,10
|
||
LISTBOX DeviceListControl,10,85,210,100,LBS_SORT |
|
||
LBS_NOINTEGRALHEIGHT | LBS_DISABLENOSCROLL | WS_VSCROLL |
|
||
WS_TABSTOP
|
||
DEFPUSHBUTTON "A&dd...",AddButton,116,190,50,14
|
||
PUSHBUTTON "&Remove",RemoveButton,170,190,50,14
|
||
END
|
||
|
||
AddDeviceDialog DIALOG DISCARDABLE 0, 0, 262, 128
|
||
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_CONTEXTHELP
|
||
CAPTION "Add Device"
|
||
FONT 8, "MS Shell Dlg"
|
||
BEGIN
|
||
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.",
|
||
IDC_STATIC,7,7,248,17
|
||
CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,7,28,247,1
|
||
LTEXT "&Devices Available on this Computer:",
|
||
DeviceListControlText,7,30,150,8
|
||
LISTBOX DeviceListControl,7,41,248,56,LBS_SORT |
|
||
LBS_NOINTEGRALHEIGHT | LBS_DISABLENOSCROLL | WS_VSCROLL |
|
||
WS_TABSTOP
|
||
CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,9,102,246,1
|
||
DEFPUSHBUTTON "&Add",AddDeviceButton,25,107,50,14
|
||
PUSHBUTTON "Cancel",IDCANCEL,88,107,50,14
|
||
END
|
||
|
||
PrinterUI DIALOG DISCARDABLE 0, 0, 255, 210
|
||
STYLE WS_CHILD | WS_CAPTION
|
||
CAPTION "Color Management"
|
||
FONT 8, "MS Shell Dlg"
|
||
BEGIN
|
||
ICON DefaultIcon,PrinterUIIcon,7,11,21,20
|
||
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.",
|
||
DescriptionText, 35,10,210,25
|
||
CONTROL "A&utomatic:",AutoSelButton,"Button",BS_AUTORADIOBUTTON | WS_TABSTOP | WS_GROUP,11,48,48,10
|
||
CONTROL "&Manual:",ManualSelButton,"Button",BS_AUTORADIOBUTTON | WS_TABSTOP,11,70,48,10
|
||
LTEXT "Windows will automatically select the best color profile from the list of associated color profiles [Recommended]",
|
||
AutoSelText,60,48,185,20
|
||
LTEXT "Manually select the default color profile for all output from this device from the list of associated color profiles",
|
||
ManualSelText,60,70,185,20
|
||
LTEXT "Default color profile:",DefaultProfileText,60,90,73,10
|
||
LTEXT "(Default Profile)",DefaultProfile,135,90,110,10
|
||
CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,11,105,230,1
|
||
LTEXT "Color &Profiles currently associated with this printer:",
|
||
ProfileListControlText,11,112,230,10
|
||
LISTBOX ProfileListControl,11,128,230,58,LBS_SORT | LBS_NOINTEGRALHEIGHT |
|
||
LBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
|
||
DEFPUSHBUTTON "A&dd...",AddButton,36,196,64,14
|
||
PUSHBUTTON "&Remove",RemoveButton,106,196,64,14
|
||
PUSHBUTTON "&Set As Default",DefaultButton,176,196,64,14
|
||
END
|
||
|
||
ScannerUI DIALOG DISCARDABLE 0, 0, 230, 199
|
||
STYLE WS_CHILD | WS_CAPTION
|
||
CAPTION "Color Management"
|
||
FONT 8, "MS Shell Dlg"
|
||
BEGIN
|
||
ICON DefaultIcon,IDC_STATIC,7,11,21,20
|
||
LTEXT "These settings let you add and remove color profile associations with your scanner/camera. This can affect the colors of your images.",
|
||
IDC_STATIC,35,7,180,25
|
||
LTEXT "Color &Profiles currently associated with this device:",
|
||
ProfileListControlText,17,40,180,8
|
||
LISTBOX ProfileListControl,16,51,198,124,LBS_SORT | LBS_NOINTEGRALHEIGHT |
|
||
LBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
|
||
DEFPUSHBUTTON "A&dd...",AddButton,83,180,64,14
|
||
PUSHBUTTON "&Remove",RemoveButton,150,180,64,14
|
||
END
|
||
|
||
MonitorUI DIALOG DISCARDABLE 0, 0, 250, 213
|
||
STYLE WS_CHILD | WS_CAPTION
|
||
CAPTION "Color Management"
|
||
FONT 8, "MS Shell Dlg"
|
||
BEGIN
|
||
ICON DefaultIcon,IDC_STATIC,7,11,18,20
|
||
LTEXT "These settings let you select the default color profile for your monitor. This affects the colors that you see on your monitor.",
|
||
IDC_STATIC,35,12,210,17
|
||
LTEXT "Current monitor:",MonitorNameText,9,43,50,10
|
||
LTEXT "(Monitor Name)",MonitorName,84,43,160,10
|
||
LTEXT "Default monitor profile:",DefaultProfileText,9,60,73,10
|
||
LTEXT "(Default Profile)",DefaultProfile,84,60,160,10
|
||
CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,9,77,237,1
|
||
LTEXT "&Color Profiles currently associated with this device:",ProfileListControlText,9,85,200,10
|
||
LISTBOX ProfileListControl,9,97,237,85,LBS_SORT | LBS_NOINTEGRALHEIGHT |
|
||
LBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
|
||
DEFPUSHBUTTON "A&dd...",AddButton,9,190,77,14
|
||
PUSHBUTTON "&Remove",RemoveButton,89,190,77,14
|
||
PUSHBUTTON "&Set As Default",DefaultButton,169,190,77,14
|
||
END
|
||
|
||
|
||
|
||
// Version
|
||
|
||
|
||
#ifdef PRIVATE_VERSION
|
||
|
||
VS_VERSION_INFO VERSIONINFO
|
||
FILEVERSION 1,0,0,1
|
||
PRODUCTVERSION 1,0,0,1
|
||
FILEFLAGSMASK 0x3fL
|
||
#ifdef _DEBUG
|
||
FILEFLAGS 0x1L
|
||
#else
|
||
FILEFLAGS 0x0L
|
||
#endif
|
||
FILEOS 0x40004L
|
||
FILETYPE 0x1L
|
||
FILESUBTYPE 0x0L
|
||
BEGIN
|
||
BLOCK "StringFileInfo"
|
||
BEGIN
|
||
BLOCK "040904b0"
|
||
BEGIN
|
||
VALUE "Comments", "A Pretty Penny Enterprises, Inc. Production\0"
|
||
VALUE "CompanyName", "Microsoft Corporation\0"
|
||
VALUE "FileDescription", "ICM 2.0 User Interfaces\0"
|
||
VALUE "FileVersion", "1.0.0.1\0"
|
||
VALUE "InternalName", "ICM 2.0 UI\0"
|
||
VALUE "LegalCopyright", "Copyright <20> 1996 by Microsoft Corporation\0"
|
||
VALUE "OriginalFilename", "IcmUi.Dll\0"
|
||
VALUE "ProductName", "Integrated Color Matching User Interface\0"
|
||
VALUE "ProductVersion", "1.0.0.1\0"
|
||
END
|
||
END
|
||
BLOCK "VarFileInfo"
|
||
BEGIN
|
||
VALUE "Translation", 0x409, 1200
|
||
END
|
||
END
|
||
|
||
#else
|
||
|
||
#include <ntverp.h>
|
||
|
||
#define VER_FILETYPE VFT_DLL
|
||
#define VER_FILESUBTYPE VFT2_UNKNOWN
|
||
#define VER_FILEDESCRIPTION_STR "Microsoft Color Matching System User Interface DLL"
|
||
#define VER_INTERNALNAME_STR "IcmUi.Dll"
|
||
|
||
#include "common.ver"
|
||
|
||
#endif
|
||
|
||
|
||
|
||
// Icon
|
||
|
||
|
||
// Icon with lowest ID value placed first to ensure application icon
|
||
// remains consistent on all systems.
|
||
DefaultIcon ICON DISCARDABLE "ICMDefau.Ico"
|
||
UninstalledIcon ICON DISCARDABLE "Uninstal.ico"
|
||
|
||
|
||
|
||
// String Table
|
||
|
||
|
||
STRINGTABLE DISCARDABLE
|
||
BEGIN
|
||
ShortInstallString "Install"
|
||
ShortUninstallString "Uninstall"
|
||
AdvancedString "Advanced"
|
||
|
||
InstallProfileMenuString "&Install Profile"
|
||
UninstallProfileMenuString "&Uninstall Profile"
|
||
AssociateMenuString "&Associate..."
|
||
|
||
InstallProfileContextMenuString "Install this profile"
|
||
InstallMultiProfileContextMenuString "Install these profiles"
|
||
UninstallProfileContextMenuString "Uninstall this profile"
|
||
UninstallMultiProfileContextMenuString "Uninstall these profiles"
|
||
AssociateContextMenuString "Profile device associations"
|
||
|
||
|
||
ProfilePropertyString "Profile Information"
|
||
AssociatePropertyString "Associate Device"
|
||
MessageBoxTitle "Microsoft Color Management System"
|
||
AddProfileAssociation "Add Profile Association"
|
||
|
||
AddButtonText "A&dd"
|
||
|
||
DefaultSourceString "sRGB Color Space"
|
||
PerceptualString "Pictures"
|
||
Occupied0 "Proof"
|
||
Occupied1 "Graphics"
|
||
Occupied2 "Match"
|
||
|
||
ClassMonitorString "Monitor"
|
||
ClassPrinterString "Printer"
|
||
ClassScannerString "Scanner/Camera"
|
||
ClassLinkString "Link"
|
||
ClassAbstractString "Abstract"
|
||
ClassColorSpaceString "ColorSpace"
|
||
ClassNamedString "Named ColorSpace"
|
||
|
||
NoDefaultProfile "You must select a default color profile for this monitor from the installed profiles."
|
||
NoProfileString "<None>"
|
||
NoPrintersInstalled "Printer Profile: (No Printers Installed)"
|
||
NoAdditionalInfo "Additional information is not available."
|
||
NotColorPrinter "Monochrome printer: No Color Management"
|
||
|
||
InvalidProfileString "The profile you selected is not a valid color profile."
|
||
MismatchDeviceType "%1 is a %2 color profile which cannot be associated with a %3."
|
||
InstFailedWithName "An error occurred while installing %1. This is not a valid color profile."
|
||
UninstFailedWithName "An error occurred while uninstalling %1."
|
||
AssocFailedWithName "An error occurred while associating %1. This is not a valid color profile."
|
||
DisassocFailedWithName "An error occurred while disassociating %1."
|
||
UnsupportedProfile "An error has occurred: %1 doesn't support CMYK color profile %2."
|
||
|
||
AskRemoveDefault "This is the default color profile. Are you sure you want to remove this color profile?"
|
||
|
||
IccProfileFilterString "Color Profiles (*.icm;*.icc)"
|
||
AllProfileFilterString "All Files (*.*)"
|
||
TooManyFileSelected "Too many files selected, please select fewer files."
|
||
END
|
||
|
||
|
||
|