- Visual C++源码
- Visual Basic源码
- C++ Builder源码
- Java源码
- Delphi源码
- C/C++源码
- PHP源码
- Perl源码
- Python源码
- Asm源码
- Pascal源码
- Borland C++源码
- Others源码
- SQL源码
- VBScript源码
- JavaScript源码
- ASP/ASPX源码
- C#源码
- Flash/ActionScript源码
- matlab源码
- PowerBuilder源码
- LabView源码
- Flex源码
- MathCAD源码
- VBA源码
- IDL源码
- Lisp/Scheme源码
- VHDL源码
- Objective-C源码
- Fortran源码
- tcl/tk源码
- QT源码
QZoomViewDemo.rc
资源名称:qzoomview.zip [点击查看]
上传用户:xp9161
上传日期:2009-12-21
资源大小:70k
文件大小:13k
源码类别:
Windows编程
开发平台:
Visual C++
- // Microsoft Visual C++ generated resource script.
- //
- #include "resource.h"
- #define APSTUDIO_READONLY_SYMBOLS
- /////////////////////////////////////////////////////////////////////////////
- //
- // Generated from the TEXTINCLUDE 2 resource.
- //
- #include "afxres.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.
- IDR_MAINFRAME ICON "res\QZoomViewDemo.ico"
- IDR_QZoomViewDemoTYPE ICON "res\QZoomViewDemoDoc.ico"
- /////////////////////////////////////////////////////////////////////////////
- //
- // Bitmap
- //
- IDR_MAINFRAME BITMAP "res\Toolbar.bmp"
- /////////////////////////////////////////////////////////////////////////////
- //
- // Toolbar
- //
- IDR_MAINFRAME TOOLBAR 16, 15
- BEGIN
- BUTTON ID_TOOL_ZOOMIN
- BUTTON ID_TOOL_ZOOMOUT
- BUTTON ID_TOOL_HAND
- SEPARATOR
- BUTTON ID_ZOOM_ZOOMIN
- BUTTON ID_ZOOM_ZOOMOUT
- BUTTON ID_VIEW_ZOOMTOWINDOW
- SEPARATOR
- BUTTON ID_APP_ABOUT
- END
- /////////////////////////////////////////////////////////////////////////////
- //
- // Menu
- //
- IDR_MAINFRAME MENU
- BEGIN
- POPUP "&File"
- BEGIN
- MENUITEM "E&xit", ID_APP_EXIT
- END
- POPUP "&View"
- BEGIN
- POPUP "&Zoom"
- BEGIN
- MENUITEM "Zoom &IntCtrl+Num+", ID_ZOOM_ZOOMIN
- MENUITEM "Zoom &OuttCtrl+Num-", ID_ZOOM_ZOOMOUT
- MENUITEM SEPARATOR
- MENUITEM "&35%", ID_ZOOM_01
- MENUITEM "&50%", ID_ZOOM_02
- MENUITEM "&70%", ID_ZOOM_03
- MENUITEM "1&00%tCtrl+0", ID_ZOOM_04
- MENUITEM "&140%", ID_ZOOM_05
- MENUITEM "&200%", ID_ZOOM_06
- MENUITEM "280%", ID_ZOOM_07
- MENUITEM "&400%", ID_ZOOM_08
- MENUITEM "5&60%", 148
- MENUITEM "&800%", ID_ZOOM_10
- MENUITEM SEPARATOR
- MENUITEM "O&ther...", ID_ZOOM_OTHER
- END
- MENUITEM "Zoom to &windowtCtrl+1", ID_VIEW_ZOOMTOWINDOW
- MENUITEM SEPARATOR
- MENUITEM "&Toolbar", ID_VIEW_TOOLBAR
- MENUITEM "&Status Bar", ID_VIEW_STATUS_BAR
- END
- POPUP "&Tool"
- BEGIN
- MENUITEM "Zoom &intI", ID_TOOL_ZOOMIN
- MENUITEM "Zoom &outtO", ID_TOOL_ZOOMOUT
- MENUITEM SEPARATOR
- MENUITEM "&HandtH", ID_TOOL_HAND
- END
- POPUP "&Help"
- BEGIN
- MENUITEM "&About QZoomView...", ID_APP_ABOUT
- END
- END
- /////////////////////////////////////////////////////////////////////////////
- //
- // Accelerator
- //
- IDR_MAINFRAME ACCELERATORS
- BEGIN
- "1", ID_VIEW_ZOOMTOWINDOW, VIRTKEY, CONTROL, NOINVERT
- "0", ID_ZOOM_04, VIRTKEY, CONTROL, NOINVERT
- VK_ADD, ID_ZOOM_ZOOMIN, VIRTKEY, CONTROL, NOINVERT
- VK_SUBTRACT, ID_ZOOM_ZOOMOUT, VIRTKEY, CONTROL, NOINVERT
- "I", ID_TOOL_ZOOMIN, VIRTKEY, NOINVERT
- "O", ID_TOOL_ZOOMOUT, VIRTKEY, NOINVERT
- "H", ID_TOOL_HAND, VIRTKEY, NOINVERT
- VK_F1, ID_APP_ABOUT, VIRTKEY, NOINVERT
- END
- /////////////////////////////////////////////////////////////////////////////
- //
- // Dialog
- //
- IDD_ABOUTBOX DIALOGEX 0, 0, 235, 118
- STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION |
- WS_SYSMENU
- CAPTION "About QZoomView"
- FONT 8, "MS Shell Dlg", 0, 0, 0x1
- BEGIN
- ICON IDR_MAINFRAME,IDC_STATIC,11,17,21,20
- LTEXT "QZoomViewDemo 1.0",IDC_STATIC,40,10,119,8,SS_NOPREFIX
- DEFPUSHBUTTON "OK",IDOK,178,7,50,16,WS_GROUP
- GROUPBOX "",IDC_STATIC,36,26,165,59
- LTEXT "Demonstration of QZoomView MFC classnnPress I, O, or H to switch to different tools. Use Ctrl to modify operation. Click Ctrl++, or Ctrl+- to zoom. Use Ctrl with the mouse wheel.",
- IDC_STATIC,42,36,153,45
- LTEXT "Copyright (C) Sjaak Priester, 2003nwww.sjaakpriester.nl",
- IDC_STATIC,36,91,155,20
- END
- IDD_ZOOMLEVEL DIALOGEX 0, 0, 186, 79
- STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION |
- WS_SYSMENU
- CAPTION "Zoom Level"
- FONT 8, "MS Shell Dlg", 400, 0, 0x1
- BEGIN
- LTEXT "Enter a Zoom Level",IDC_STATIC,23,17,62,8
- EDITTEXT IDC_ZOOMEDIT,23,30,40,14,ES_AUTOHSCROLL
- CONTROL "",IDC_ZOOMSPIN,"msctls_updown32",UDS_SETBUDDYINT |
- UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS |
- UDS_NOTHOUSANDS,61,30,11,14
- LTEXT "(Percentage between 3 and 2000)",IDC_STATIC,23,52,111,8
- DEFPUSHBUTTON "OK",IDOK,129,7,50,14
- PUSHBUTTON "Cancel",IDCANCEL,129,24,50,14
- END
- /////////////////////////////////////////////////////////////////////////////
- //
- // 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 0x4L
- FILETYPE 0x1L
- FILESUBTYPE 0x0L
- BEGIN
- BLOCK "StringFileInfo"
- BEGIN
- BLOCK "040904e4"
- BEGIN
- VALUE "CompanyName", "Cruquius Soft"
- VALUE "FileDescription", "Demonstration of QZoomView MFC class"
- VALUE "FileVersion", "1.0.0.1"
- VALUE "InternalName", "QZoomViewDemo.exe"
- VALUE "LegalCopyright", "(c) 2003, Cruquius Soft, Amsterdam. All rights reserved."
- VALUE "OriginalFilename", "QZoomViewDemo.exe"
- VALUE "ProductName", "QZoomView"
- VALUE "ProductVersion", "1.0.0.1"
- END
- END
- BLOCK "VarFileInfo"
- BEGIN
- VALUE "Translation", 0x409, 1252
- END
- END
- /////////////////////////////////////////////////////////////////////////////
- //
- // DESIGNINFO
- //
- #ifdef APSTUDIO_INVOKED
- GUIDELINES DESIGNINFO
- BEGIN
- IDD_ABOUTBOX, DIALOG
- BEGIN
- LEFTMARGIN, 7
- RIGHTMARGIN, 228
- TOPMARGIN, 7
- BOTTOMMARGIN, 111
- END
- IDD_ZOOMLEVEL, DIALOG
- BEGIN
- LEFTMARGIN, 7
- RIGHTMARGIN, 179
- TOPMARGIN, 7
- BOTTOMMARGIN, 72
- END
- END
- #endif // APSTUDIO_INVOKED
- /////////////////////////////////////////////////////////////////////////////
- //
- // RT_MANIFEST
- //
- IDR_MANIFEST RT_MANIFEST "res\QZoomViewDemo.manifest"
- /////////////////////////////////////////////////////////////////////////////
- //
- // Cursor
- //
- IDC_GRIPCLOSED CURSOR "res\grip_closed.cur"
- IDC_GRIPOPEN CURSOR "res\grip_open.cur"
- IDC_LOUPEMINUS CURSOR "res\loupe_minus.cur"
- IDC_LOUPEPLUS CURSOR "res\loupe_plus.cur"
- IDC_LOUPE CURSOR "res\loupe.cur"
- /////////////////////////////////////////////////////////////////////////////
- //
- // String Table
- //
- STRINGTABLE
- BEGIN
- IDR_MAINFRAME "Demonstration of QZoomView MFC classnnQZoomViewDemonnnQZoomViewDemo.DocumentnQZoomViewDemo.Document"
- ID_TOOL_ZOOMIN "Zoom In tool. Use cursor to Zoom In, or drag to Zoom In areanZoom In tool"
- ID_TOOL_ZOOMOUT "Zoom Out tool. Use cursor to Zoom Out, or drag to Zoom In areanZoom Out tool"
- ID_TOOL_HAND "Drag tool. Drag document in windownDrag tool"
- ID_ZOOM_01 "Zoom to 35%"
- ID_ZOOM_02 "Zoom to 50% (1/2)"
- ID_ZOOM_03 "Zoom to 70%"
- ID_ZOOM_04 "Zoom to 100% (actual size)"
- END
- STRINGTABLE
- BEGIN
- AFX_IDS_APP_TITLE "QZoomViewDemo"
- AFX_IDS_IDLEMESSAGE "Press Ctrl and + on the numeric keypad to zoom in"
- END
- STRINGTABLE
- BEGIN
- ID_INDICATOR_EXT "EXT"
- ID_INDICATOR_CAPS "CAP"
- ID_INDICATOR_NUM "NUM"
- ID_INDICATOR_SCRL "SCRL"
- ID_INDICATOR_OVR "OVR"
- ID_INDICATOR_REC "REC"
- ID_INDICATOR_ZOOM "9999.99% "
- END
- STRINGTABLE
- BEGIN
- ID_APP_ABOUT "Display information about QZoomViewnAbout"
- ID_APP_EXIT "Quit the demonstration of QZoomViewnExit"
- END
- STRINGTABLE
- BEGIN
- ID_VIEW_TOOLBAR "Show or hide the toolbarnToggle ToolBar"
- ID_VIEW_STATUS_BAR "Show or hide the status barnToggle StatusBar"
- END
- STRINGTABLE
- BEGIN
- AFX_IDS_SCSIZE "Change the window size"
- AFX_IDS_SCMOVE "Change the window position"
- AFX_IDS_SCMINIMIZE "Reduce the window to an icon"
- AFX_IDS_SCMAXIMIZE "Enlarge the window to full size"
- AFX_IDS_SCNEXTWINDOW "Switch to the next document window"
- AFX_IDS_SCPREVWINDOW "Switch to the previous document window"
- AFX_IDS_SCCLOSE "Close the active window and prompts to save the documents"
- END
- STRINGTABLE
- BEGIN
- AFX_IDS_SCRESTORE "Restore the window to normal size"
- AFX_IDS_SCTASKLIST "Activate Task List"
- END
- STRINGTABLE
- BEGIN
- ID_ZOOM_05 "Zoom to 140%"
- ID_ZOOM_06 "Zoom to 200% (2x)"
- ID_ZOOM_07 "Zoom to 280%"
- ID_ZOOM_08 "Zoom to 400% (4x)"
- ID_ZOOM_09 "Zoom to 560%"
- ID_ZOOM_10 "Zoom to 800% (8x)"
- ID_ZOOM_OTHER "Enter an arbitrary Zoom Level"
- ID_VIEW_ZOOMTOWINDOW "Zoom till document fits conveniently in windownZoom to window"
- ID_ZOOM_ZOOMIN "Zoom In one stepnZoom In"
- ID_ZOOM_ZOOMOUT "Zoom Out one stepnZoom Out"
- END
- STRINGTABLE
- BEGIN
- IDS_MESSAGE "Click anywhere with the + loupe to zoom in"
- IDS_STRING1001 "Drag the loupe to zoom to a rectangle"
- IDS_STRING1002 "Press O to switch to the - loupe"
- IDS_STRING1003 "Click anywhere with the - loupe to zoom out"
- IDS_STRING1004 "Press I to switch to the + loupe"
- IDS_STRING1005 "Ctrl switches between + and - loupe"
- IDS_STRING1006 "Press Ctrl and + on the numeric keypad to zoom in"
- IDS_STRING1007 "Press Ctrl and - on the numeric keypad to zoom out"
- END
- STRINGTABLE
- BEGIN
- IDS_STRING1008 "Press H to switch to the grabber hand"
- IDS_STRING1009 "Drag the document with the grabber hand"
- IDS_STRING1010 "Press the space bar to temporarely switch to the grabber hand"
- IDS_STRING1011 "Use Ctrl with the mouse wheel to zoom in, or zoom out"
- IDS_STRING1012 "Press Ctrl+0 to set the zoom level to 100%"
- IDS_STRING1013 "Press Ctrl+1 to zoom to the window size"
- END
- #endif // English (U.S.) resources
- /////////////////////////////////////////////////////////////////////////////
- /////////////////////////////////////////////////////////////////////////////
- // Dutch (Netherlands) resources
- #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_NLD)
- #ifdef _WIN32
- LANGUAGE LANG_DUTCH, SUBLANG_DUTCH
- #pragma code_page(1252)
- #endif //_WIN32
- #ifdef APSTUDIO_INVOKED
- /////////////////////////////////////////////////////////////////////////////
- //
- // TEXTINCLUDE
- //
- 1 TEXTINCLUDE
- BEGIN
- "resource.h"
- END
- 2 TEXTINCLUDE
- BEGIN
- "#include ""afxres.h""rn"
- ""
- END
- 3 TEXTINCLUDE
- BEGIN
- "#define _AFX_NO_SPLITTER_RESOURCESrn"
- "#define _AFX_NO_OLE_RESOURCESrn"
- "#define _AFX_NO_TRACKER_RESOURCESrn"
- "#define _AFX_NO_PROPERTY_RESOURCESrn"
- "rn"
- "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)rn"
- "LANGUAGE 9, 1rn"
- "#pragma code_page(1252)rn"
- "#include ""res\QZoomViewDemo.rc2"" // non-Microsoft Visual C++ edited resourcesrn"
- "#include ""afxres.rc"" // Standard componentsrn"
- "#include ""afxprint.rc"" // printing/print preview resourcesrn"
- "#endifrn"
- ""
- END
- #endif // APSTUDIO_INVOKED
- #endif // Dutch (Netherlands) resources
- /////////////////////////////////////////////////////////////////////////////
- #ifndef APSTUDIO_INVOKED
- /////////////////////////////////////////////////////////////////////////////
- //
- // Generated from the TEXTINCLUDE 3 resource.
- //
- #define _AFX_NO_SPLITTER_RESOURCES
- #define _AFX_NO_OLE_RESOURCES
- #define _AFX_NO_TRACKER_RESOURCES
- #define _AFX_NO_PROPERTY_RESOURCES
- #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
- LANGUAGE 9, 1
- #pragma code_page(1252)
- #include "resQZoomViewDemo.rc2" // non-Microsoft Visual C++ edited resources
- #include "afxres.rc" // Standard components
- #include "afxprint.rc" // printing/print preview resources
- #endif
- /////////////////////////////////////////////////////////////////////////////
- #endif // not APSTUDIO_INVOKED