home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Windows Gam…ming Gurus (2nd Edition)
/
Disc2.iso
/
msdn_vcb
/
samples
/
vc98
/
sdk
/
graphics
/
icm20
/
icmview
/
icmview.rc
< prev
next >
Wrap
Text File
|
1997-09-03
|
12KB
|
370 lines
//Microsoft Developer Studio generated resource script.
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#define APSTUDIO_HIDDEN_SYMBOLS
#include "windows.h"
#undef APSTUDIO_HIDDEN_SYMBOLS
#include "winver.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// English (U.S.) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
#endif //_WIN32
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
SMALL ICON DISCARDABLE "SMALL.ICO"
ICMVIEW ICON DISCARDABLE "icmview.ico"
/////////////////////////////////////////////////////////////////////////////
//
// Menu
//
ICMVIEW MENU DISCARDABLE
BEGIN
POPUP "&File"
BEGIN
MENUITEM "&Open...", IDM_FILE_OPEN
MENUITEM "&Close", IDM_FILE_CLOSE
MENUITEM SEPARATOR
MENUITEM "Save &As...", ID_FILE_SAVEAS
MENUITEM SEPARATOR
MENUITEM "&Display Properties...", IDM_FILE_DISPLAY
MENUITEM "Print &Setup...", IDM_FILE_PRINT_SETUP
MENUITEM "&Print...", IDM_FILE_PRINT
POPUP "&ICM API Set"
BEGIN
MENUITEM "&Inside DC", IDM_FILE_ICM10
MENUITEM "&Outside DC", IDM_FILE_ICM20
END
MENUITEM "Color &Management...", IDM_FILE_CONFIGURE_ICM
MENUITEM SEPARATOR
MENUITEM "Recent File", IDM_FILE_RECENT, GRAYED
MENUITEM SEPARATOR
MENUITEM "E&xit", IDM_FILE_EXIT
END
POPUP "&Window"
BEGIN
MENUITEM "&Cascade", IDM_WINDOW_CASCADE
MENUITEM "Tile &Horizontal", IDM_WINDOW_TILE_HORIZONTAL
MENUITEM "&Tile Vertical", IDM_WINDOW_TILE_VERTICAL
MENUITEM "&Arrange", IDM_WINDOW_ARRANGE
END
POPUP "&Help", HELP
BEGIN
MENUITEM "&Help Topics...", IDM_HELPTOPICS
MENUITEM SEPARATOR
MENUITEM "&About ICMView...", IDM_HELP_ABOUT
END
END
IMAGECONTEXT MENU DISCARDABLE
BEGIN
POPUP "Image Context"
BEGIN
POPUP "&ICM API Set"
BEGIN
MENUITEM "&Inside DC", IDM_FILE_ICM10
MENUITEM "&Outside DC", IDM_FILE_ICM20
END
MENUITEM "Color &Management...", IDM_FILE_CONFIGURE_ICM
MENUITEM "&Display Properties...", IDM_FILE_DISPLAY
MENUITEM "Print &Setup...", IDM_FILE_PRINT_SETUP
END
MENUITEM "", ID_TEST
END
/////////////////////////////////////////////////////////////////////////////
//
// Accelerator
//
ICMVIEW ACCELERATORS MOVEABLE PURE
BEGIN
VK_F1, IDM_HELPCONTENTS, VIRTKEY
"?", IDM_HELP_ABOUT, ASCII, ALT
"/", IDM_HELP_ABOUT, ASCII, ALT
END
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
ABOUTBOX DIALOG DISCARDABLE 22, 17, 167, 74
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
CAPTION "About"
FONT 8, "System"
BEGIN
DEFPUSHBUTTON "OK",IDOK,132,2,32,14,WS_GROUP
ICON "ICMView",IDC_STATIC,3,2,18,20
LTEXT "CompanyName",IDC_COMPANY,30,2,100,8
LTEXT "FileDescription",IDC_FILEDESC,30,10,71,8
RTEXT "ProductVersion",IDC_PRODVER,106,10,17,8
LTEXT "LegalCopyright",IDC_COPYRIGHT,30,18,137,8
CONTROL "OSVERSION",IDC_OSVERSION,"Static",SS_LEFTNOWORDWRAP |
WS_GROUP,46,34,118,8
LTEXT "LegalTrademarks",IDC_TRADEMARK,3,49,162,18
LTEXT "Running on:",IDC_LABEL,4,34,40,8
CONTROL "",IDC_STATIC,"Static",SS_BLACKRECT,2,31,164,1
CONTROL "",IDC_STATIC,"Static",SS_BLACKRECT,2,44,164,1
END
IDD_DISPLAY DIALOG DISCARDABLE 0, 0, 229, 114
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Display"
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX "Image Display Options",IDC_STATIC,14,11,202,76
CONTROL "&Stretch to Fit Window",IDC_DISPLAY_STRETCH,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,19,23,84,10
CONTROL "&AndScan",IDC_DISPLAY_ANDSCAN,"Button",
BS_AUTORADIOBUTTON | WS_GROUP,49,47,121,10
CONTROL "&DeleteScan",IDC_DISPLAY_DELETESCAN,"Button",
BS_AUTORADIOBUTTON,49,60,121,10
CONTROL "&OrScan",IDC_DISPLAY_ORSCAN,"Button",BS_AUTORADIOBUTTON,
49,73,121,10
LTEXT "&StretchBlt Method:",IDC_STATIC,34,36,148,8
END
IDD_PRINT DIALOG DISCARDABLE 0, 0, 229, 114
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Print"
FONT 8, "MS Shell Dlg"
BEGIN
COMBOBOX IDC_PRINT_PRINTERLIST,23,27,185,53,CBS_DROPDOWN |
CBS_SORT | WS_VSCROLL | WS_TABSTOP
LTEXT "Selected &Printer",IDC_STATIC,21,14,51,8
CONTROL "Actual &Size",IDC_PRINT_ACTUALSIZE,"Button",
BS_AUTORADIOBUTTON,35,59,51,10
CONTROL "Best&Fit",IDC_PRINT_BESTFIT,"Button",BS_AUTORADIOBUTTON,
120,60,45,10
GROUPBOX "Print Image Size",IDC_STATIC,23,46,192,29
PUSHBUTTON "&Print",IDC_PRINT_IMAGE,89,85,50,14
END
IDD_PRINTING DIALOG DISCARDABLE 0, 0, 186, 119
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "ICMView Printing"
FONT 8, "MS Shell Dlg"
BEGIN
PUSHBUTTON "Cancel",IDCANCEL,67,98,50,14
CTEXT "",IDC_PRINT_FILENAME,9,7,166,84
END
IDD_TRANSLATE DIALOGEX 0, 0, 186, 69
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Translating Bitmap"
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
CONTROL "Progress1",IDC_PROGRESS,"msctls_progress32",WS_BORDER,
23,21,138,13,WS_EX_CLIENTEDGE
END
#ifndef _MAC
/////////////////////////////////////////////////////////////////////////////
//
// Version
//
1 VERSIONINFO
FILEVERSION 3,5,0,0
PRODUCTVERSION 3,5,0,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0xbL
#else
FILEFLAGS 0xaL
#endif
FILEOS 0x10001L
FILETYPE 0x1L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904e4"
BEGIN
VALUE "Comments", "Written by: Microsoft Testing\0"
VALUE "CompanyName", "Microsoft Corporation\0"
VALUE "FileDescription", "ICMView Example Application\0"
VALUE "FileVersion", "0.0\0"
VALUE "InternalName", "ICMView\0"
VALUE "LegalCopyright", "Copyright ⌐ Microsoft Corp. 1990 - 1997\0"
VALUE "LegalTrademarks", "Microsoft« is a registered trademark of Microsoft Corporation. Windows(TM) is a trademark of Microsoft Corporation\0"
VALUE "OriginalFilename", "\0"
VALUE "ProductName", "ICMView\0"
VALUE "ProductVersion", "3.7\0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1252
END
END
#endif // !_MAC
/////////////////////////////////////////////////////////////////////////////
//
// Data
//
DLGINCLUDE RCDATA DISCARDABLE
BEGIN
"ICMVIEW.H\0"
END
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE DISCARDABLE
BEGIN
"resource.h\0"
END
2 TEXTINCLUDE DISCARDABLE
BEGIN
"#define APSTUDIO_HIDDEN_SYMBOLS\r\n"
"#include ""windows.h""\r\n"
"#undef APSTUDIO_HIDDEN_SYMBOLS\r\n"
"#include ""winver.h""\r\n"
"\0"
END
3 TEXTINCLUDE DISCARDABLE
BEGIN
"\r\n"
"\0"
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO DISCARDABLE
BEGIN
IDD_DISPLAY, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 222
TOPMARGIN, 7
BOTTOMMARGIN, 107
END
IDD_PRINT, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 222
TOPMARGIN, 7
BOTTOMMARGIN, 107
END
IDD_PRINTING, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 179
TOPMARGIN, 7
BOTTOMMARGIN, 112
END
IDD_TRANSLATE, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 179
TOPMARGIN, 7
BOTTOMMARGIN, 62
END
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// String Table
//
STRINGTABLE DISCARDABLE
BEGIN
IDS_BUFFERTOOSMALL "Buffer passed to CD too small to accomodate string"
IDS_CREATEICFAILURE "Failure creating an IC"
IDS_DIALOGFAILURE "Creation of CD failed on call to DialogBox()"
IDS_DNDMMISMATCH "Data in DEVMODE contradicts data in DEVNAMES"
IDS_FILTERSTRING "Write Files(*.WRI)|*.WRI|Word Files(*.DOC; *.TXT)|*.doc;*.txt|"
IDS_FINDRESFAILURE "Failure finding specified resource"
IDS_GETDEVMODEFAIL "The printer driver failed to initialize a DEVMODE data structure"
IDS_INITFAILURE "Print CD failed during initialization"
IDS_INITIALIZATION "Failure initializing CD. Possibly\n\r do to insufficient memory."
IDS_INVALIDFILENAME "Invalide filename passed to FileOpen or FileSave"
IDS_LOADDRVFAILURE "Failure loading the printers device driver"
IDS_LOADRESFAILURE "Failure loading specified resource"
IDS_LOADSTRFAILURE "Failure loading specified string"
IDS_LOCKRESFAILURE "Failure locking specified resource"
IDS_MEMALLOCFAILURE "Failure allocating memory for internal CD structure"
IDS_MEMLOCKFAILURE "Failure locking memory for internal CD structure"
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_NODEFAULTPRN "No default printer was found"
IDS_NODEVICES "No printer device drivers were found"
IDS_NOFONTS "No fonts exist"
IDS_NOHINSTANCE "Instance handle not passed to CD"
IDS_NOHOOK "No hook function passed to CD but ENABLEHOOK\n\r was passed as a flag"
IDS_NOTEMPLATE "Failure finding custom template for CD"
IDS_PARSEFAILURE "Failure parsing strings in [devices]\n\rsection of WIN.INI"
IDS_PRINTERNOTFOUND "Printer not found"
IDS_RETDEFFAILURE "PD_RETURNDEFAULT flag was set but either the \n\rhDevMode or hDevNames field was nonzero"
IDS_SETUPFAILURE "Failure setting up resources for CD"
IDS_STRUCTSIZE "Invalid structure size passed to CD"
IDS_SUBCLASSFAILURE "Failure subclassing during initialization of CD"
IDS_UNKNOWNERROR "Unknown error."
END
#endif // English (U.S.) resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED