WindowPos.rc
上传用户:szled88
上传日期:2015-04-09
资源大小:43957k
文件大小:13k
源码类别:

对话框与窗口

开发平台:

Visual C++

  1. //Microsoft Developer Studio generated resource script.
  2. //
  3. #include "resource.h"
  4. #define APSTUDIO_READONLY_SYMBOLS
  5. /////////////////////////////////////////////////////////////////////////////
  6. //
  7. // Generated from the TEXTINCLUDE 2 resource.
  8. //
  9. #include "afxres.h"
  10. /////////////////////////////////////////////////////////////////////////////
  11. #undef APSTUDIO_READONLY_SYMBOLS
  12. /////////////////////////////////////////////////////////////////////////////
  13. // English (U.S.) resources
  14. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  15. #ifdef _WIN32
  16. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  17. #pragma code_page(1252)
  18. #endif //_WIN32
  19. #ifdef APSTUDIO_INVOKED
  20. /////////////////////////////////////////////////////////////////////////////
  21. //
  22. // TEXTINCLUDE
  23. //
  24. 1 TEXTINCLUDE DISCARDABLE 
  25. BEGIN
  26.     "resource.h"
  27. END
  28. 2 TEXTINCLUDE DISCARDABLE 
  29. BEGIN
  30.     "#include ""afxres.h""rn"
  31.     ""
  32. END
  33. 3 TEXTINCLUDE DISCARDABLE 
  34. BEGIN
  35.     "#define _AFX_NO_SPLITTER_RESOURCESrn"
  36.     "#define _AFX_NO_OLE_RESOURCESrn"
  37.     "#define _AFX_NO_TRACKER_RESOURCESrn"
  38.     "#define _AFX_NO_PROPERTY_RESOURCESrn"
  39.     "rn"
  40.     "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)rn"
  41.     "#ifdef _WIN32rn"
  42.     "LANGUAGE 9, 1rn"
  43.     "#pragma code_page(1252)rn"
  44.     "#endif //_WIN32rn"
  45.     "#include ""res\WindowPos.rc2""  // non-Microsoft Visual C++ edited resourcesrn"
  46.     "#include ""afxres.rc""         // Standard componentsrn"
  47.     "#include ""afxprint.rc""       // printing/print preview resourcesrn"
  48.     "#endifrn"
  49.     ""
  50. END
  51. #endif    // APSTUDIO_INVOKED
  52. /////////////////////////////////////////////////////////////////////////////
  53. //
  54. // Icon
  55. //
  56. // Icon with lowest ID value placed first to ensure application icon
  57. // remains consistent on all systems.
  58. IDR_MAINFRAME           ICON    DISCARDABLE     "res\CjSample.ico"
  59. IDR_WINDOWTYPE          ICON    DISCARDABLE     "res\WindowPosDoc.ico"
  60. /////////////////////////////////////////////////////////////////////////////
  61. //
  62. // Bitmap
  63. //
  64. IDR_MAINFRAME           BITMAP  MOVEABLE PURE   "res\Toolbar.bmp"
  65. /////////////////////////////////////////////////////////////////////////////
  66. //
  67. // Toolbar
  68. //
  69. IDR_MAINFRAME TOOLBAR DISCARDABLE  16, 15
  70. BEGIN
  71.     BUTTON      ID_FILE_NEW
  72.     BUTTON      ID_FILE_OPEN
  73.     BUTTON      ID_FILE_SAVE
  74.     SEPARATOR
  75.     BUTTON      ID_EDIT_CUT
  76.     BUTTON      ID_EDIT_COPY
  77.     BUTTON      ID_EDIT_PASTE
  78.     SEPARATOR
  79.     BUTTON      ID_FILE_PRINT
  80.     SEPARATOR
  81.     BUTTON      ID_APP_ABOUT
  82. END
  83. /////////////////////////////////////////////////////////////////////////////
  84. //
  85. // Menu
  86. //
  87. IDR_MAINFRAME MENU PRELOAD DISCARDABLE 
  88. BEGIN
  89.     POPUP "&File"
  90.     BEGIN
  91.         MENUITEM "&NewtCtrl+N",                ID_FILE_NEW
  92.         MENUITEM "&Open...tCtrl+O",            ID_FILE_OPEN
  93.         MENUITEM SEPARATOR
  94.         MENUITEM "P&rint Setup...",             ID_FILE_PRINT_SETUP
  95.         MENUITEM SEPARATOR
  96.         MENUITEM "Recent File",                 ID_FILE_MRU_FILE1, GRAYED
  97.         MENUITEM SEPARATOR
  98.         MENUITEM "E&xit",                       ID_APP_EXIT
  99.     END
  100.     POPUP "&View"
  101.     BEGIN
  102.         MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  103.         MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  104.         MENUITEM SEPARATOR
  105.         MENUITEM "Office &XP Theme",             ID_VIEW_THEME_OFFICEXP
  106.     END
  107.     POPUP "&Help"
  108.     BEGIN
  109.         MENUITEM "&About Window Position Sample...", ID_APP_ABOUT
  110.     END
  111. END
  112. IDR_WINDOWTYPE MENU PRELOAD DISCARDABLE 
  113. BEGIN
  114.     POPUP "&File"
  115.     BEGIN
  116.         MENUITEM "&NewtCtrl+N",                ID_FILE_NEW
  117.         MENUITEM "&Open...tCtrl+O",            ID_FILE_OPEN
  118.         MENUITEM "&Close",                      ID_FILE_CLOSE
  119.         MENUITEM "&SavetCtrl+S",               ID_FILE_SAVE
  120.         MENUITEM "Save &As...",                 ID_FILE_SAVE_AS
  121.         MENUITEM SEPARATOR
  122.         MENUITEM "&Print...tCtrl+P",           ID_FILE_PRINT
  123.         MENUITEM "Print Pre&view",              ID_FILE_PRINT_PREVIEW
  124.         MENUITEM "P&rint Setup...",             ID_FILE_PRINT_SETUP
  125.         MENUITEM SEPARATOR
  126.         MENUITEM "Recent File",                 ID_FILE_MRU_FILE1, GRAYED
  127.         MENUITEM SEPARATOR
  128.         MENUITEM "E&xit",                       ID_APP_EXIT
  129.     END
  130.     POPUP "&Edit"
  131.     BEGIN
  132.         MENUITEM "&UndotCtrl+Z",               ID_EDIT_UNDO
  133.         MENUITEM SEPARATOR
  134.         MENUITEM "Cu&ttCtrl+X",                ID_EDIT_CUT
  135.         MENUITEM "&CopytCtrl+C",               ID_EDIT_COPY
  136.         MENUITEM "&PastetCtrl+V",              ID_EDIT_PASTE
  137.     END
  138.     POPUP "&View"
  139.     BEGIN
  140.         MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  141.         MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  142.         MENUITEM SEPARATOR
  143.         MENUITEM "Office &XP Theme",             ID_VIEW_THEME_OFFICEXP
  144.     END
  145.     POPUP "&Window"
  146.     BEGIN
  147.         MENUITEM "&New Window",                 ID_WINDOW_NEW
  148.         MENUITEM "&Cascade",                    ID_WINDOW_CASCADE
  149.         MENUITEM "&Tile",                       ID_WINDOW_TILE_HORZ
  150.         MENUITEM "&Arrange Icons",              ID_WINDOW_ARRANGE
  151.         MENUITEM "Window List",                 35000
  152.     END
  153.     POPUP "&Help"
  154.     BEGIN
  155.         MENUITEM "&About Window Position Sample...", ID_APP_ABOUT
  156.     END
  157. END
  158. /////////////////////////////////////////////////////////////////////////////
  159. //
  160. // Accelerator
  161. //
  162. IDR_MAINFRAME ACCELERATORS PRELOAD MOVEABLE PURE 
  163. BEGIN
  164.     "N",            ID_FILE_NEW,            VIRTKEY, CONTROL
  165.     "O",            ID_FILE_OPEN,           VIRTKEY, CONTROL
  166.     "S",            ID_FILE_SAVE,           VIRTKEY, CONTROL
  167.     "P",            ID_FILE_PRINT,          VIRTKEY, CONTROL
  168.     "Z",            ID_EDIT_UNDO,           VIRTKEY, CONTROL
  169.     "X",            ID_EDIT_CUT,            VIRTKEY, CONTROL
  170.     "C",            ID_EDIT_COPY,           VIRTKEY, CONTROL
  171.     "V",            ID_EDIT_PASTE,          VIRTKEY, CONTROL
  172.     VK_BACK,        ID_EDIT_UNDO,           VIRTKEY, ALT
  173.     VK_DELETE,      ID_EDIT_CUT,            VIRTKEY, SHIFT
  174.     VK_INSERT,      ID_EDIT_COPY,           VIRTKEY, CONTROL
  175.     VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY, SHIFT
  176.     VK_F6,          ID_NEXT_PANE,           VIRTKEY 
  177.     VK_F6,          ID_PREV_PANE,           VIRTKEY, SHIFT
  178. END
  179. #ifndef _MAC
  180. /////////////////////////////////////////////////////////////////////////////
  181. //
  182. // Version
  183. //
  184. VS_VERSION_INFO VERSIONINFO
  185.  FILEVERSION 12,0,0,4
  186.  PRODUCTVERSION 12,0,0,4
  187.  FILEFLAGSMASK 0x3fL
  188. #ifdef _DEBUG
  189.  FILEFLAGS 0x1L
  190. #else
  191.  FILEFLAGS 0x0L
  192. #endif
  193.  FILEOS 0x4L
  194.  FILETYPE 0x1L
  195.  FILESUBTYPE 0x0L
  196. BEGIN
  197.     BLOCK "StringFileInfo"
  198.     BEGIN
  199.         BLOCK "040904B0"
  200.         BEGIN
  201.             VALUE "CompanyName", "Codejock Software"
  202.             VALUE "FileDescription", "WindowPos MFC Application"
  203.             VALUE "FileVersion", "12, 0, 0, 4"
  204.             VALUE "InternalName", "WindowPos"
  205.             VALUE "LegalCopyright", "(c)1998-2008 Codejock Software, All Rights Reserved."
  206.             VALUE "LegalTrademarks", ""
  207.             VALUE "OriginalFilename", "WindowPos.EXE"
  208.             VALUE "ProductName", "WindowPos Application"
  209.             VALUE "ProductVersion", "12, 0, 0, 4"
  210.         END
  211.     END
  212.     BLOCK "VarFileInfo"
  213.     BEGIN
  214.         VALUE "Translation", 0x409, 1200
  215.     END
  216. END
  217. #endif    // !_MAC
  218. /////////////////////////////////////////////////////////////////////////////
  219. //
  220. // String Table
  221. //
  222. STRINGTABLE PRELOAD DISCARDABLE 
  223. BEGIN
  224.     IDR_MAINFRAME           "Codejock Window Position Sample"
  225.     IDR_WINDOWTYPE          "nWindownWindownnnWindowPos.DocumentnWindow Document"
  226.     IDS_REG_MDI_WNDPOS      "MDI Window Position %d"
  227. END
  228. STRINGTABLE PRELOAD DISCARDABLE 
  229. BEGIN
  230.     AFX_IDS_APP_TITLE       "Codejock Window Position Sample"
  231.     AFX_IDS_IDLEMESSAGE     "Ready"
  232. END
  233. STRINGTABLE DISCARDABLE 
  234. BEGIN
  235.     ID_INDICATOR_EXT        "EXT"
  236.     ID_INDICATOR_CAPS       "CAP"
  237.     ID_INDICATOR_NUM        "NUM"
  238.     ID_INDICATOR_SCRL       "SCRL"
  239.     ID_INDICATOR_OVR        "OVR"
  240.     ID_INDICATOR_REC        "REC"
  241. END
  242. STRINGTABLE DISCARDABLE 
  243. BEGIN
  244.     ID_FILE_NEW             "Create a new documentnNew"
  245.     ID_FILE_OPEN            "Open an existing documentnOpen"
  246.     ID_FILE_CLOSE           "Close the active documentnClose"
  247.     ID_FILE_SAVE            "Save the active documentnSave"
  248.     ID_FILE_SAVE_AS         "Save the active document with a new namenSave As"
  249.     ID_FILE_PAGE_SETUP      "Change the printing optionsnPage Setup"
  250.     ID_FILE_PRINT_SETUP     "Change the printer and printing optionsnPrint Setup"
  251.     ID_FILE_PRINT           "Print the active documentnPrint"
  252.     ID_FILE_PRINT_PREVIEW   "Display full pagesnPrint Preview"
  253. END
  254. STRINGTABLE DISCARDABLE 
  255. BEGIN
  256.     ID_APP_ABOUT            "Display program information, version number and copyrightnAbout"
  257.     ID_APP_EXIT             "Quit the application; prompts to save documentsnExit"
  258. END
  259. STRINGTABLE DISCARDABLE 
  260. BEGIN
  261.     ID_FILE_MRU_FILE1       "Open this document"
  262.     ID_FILE_MRU_FILE2       "Open this document"
  263.     ID_FILE_MRU_FILE3       "Open this document"
  264.     ID_FILE_MRU_FILE4       "Open this document"
  265.     ID_FILE_MRU_FILE5       "Open this document"
  266.     ID_FILE_MRU_FILE6       "Open this document"
  267.     ID_FILE_MRU_FILE7       "Open this document"
  268.     ID_FILE_MRU_FILE8       "Open this document"
  269.     ID_FILE_MRU_FILE9       "Open this document"
  270.     ID_FILE_MRU_FILE10      "Open this document"
  271.     ID_FILE_MRU_FILE11      "Open this document"
  272.     ID_FILE_MRU_FILE12      "Open this document"
  273.     ID_FILE_MRU_FILE13      "Open this document"
  274.     ID_FILE_MRU_FILE14      "Open this document"
  275.     ID_FILE_MRU_FILE15      "Open this document"
  276.     ID_FILE_MRU_FILE16      "Open this document"
  277. END
  278. STRINGTABLE DISCARDABLE 
  279. BEGIN
  280.     ID_NEXT_PANE            "Switch to the next window panenNext Pane"
  281.     ID_PREV_PANE            "Switch back to the previous window panenPrevious Pane"
  282. END
  283. STRINGTABLE DISCARDABLE 
  284. BEGIN
  285.     ID_WINDOW_NEW           "Open another window for the active documentnNew Window"
  286.     ID_WINDOW_ARRANGE       "Arrange icons at the bottom of the windownArrange Icons"
  287.     ID_WINDOW_CASCADE       "Arrange windows so they overlapnCascade Windows"
  288.     ID_WINDOW_TILE_HORZ     "Arrange windows as non-overlapping tilesnTile Windows"
  289.     ID_WINDOW_TILE_VERT     "Arrange windows as non-overlapping tilesnTile Windows"
  290.     ID_WINDOW_SPLIT         "Split the active window into panesnSplit"
  291. END
  292. STRINGTABLE DISCARDABLE 
  293. BEGIN
  294.     ID_EDIT_CLEAR           "Erase the selectionnErase"
  295.     ID_EDIT_CLEAR_ALL       "Erase everythingnErase All"
  296.     ID_EDIT_COPY            "Copy the selection and put it on the ClipboardnCopy"
  297.     ID_EDIT_CUT             "Cut the selection and put it on the ClipboardnCut"
  298.     ID_EDIT_FIND            "Find the specified textnFind"
  299.     ID_EDIT_PASTE           "Insert Clipboard contentsnPaste"
  300.     ID_EDIT_REPEAT          "Repeat the last actionnRepeat"
  301.     ID_EDIT_REPLACE         "Replace specific text with different textnReplace"
  302.     ID_EDIT_SELECT_ALL      "Select the entire documentnSelect All"
  303.     ID_EDIT_UNDO            "Undo the last actionnUndo"
  304.     ID_EDIT_REDO            "Redo the previously undone actionnRedo"
  305. END
  306. STRINGTABLE DISCARDABLE 
  307. BEGIN
  308.     ID_VIEW_TOOLBAR         "Show or hide the toolbarnToggle ToolBar"
  309.     ID_VIEW_STATUS_BAR      "Show or hide the status barnToggle StatusBar"
  310. END
  311. STRINGTABLE DISCARDABLE 
  312. BEGIN
  313.     AFX_IDS_SCSIZE          "Change the window size"
  314.     AFX_IDS_SCMOVE          "Change the window position"
  315.     AFX_IDS_SCMINIMIZE      "Reduce the window to an icon"
  316.     AFX_IDS_SCMAXIMIZE      "Enlarge the window to full size"
  317.     AFX_IDS_SCNEXTWINDOW    "Switch to the next document window"
  318.     AFX_IDS_SCPREVWINDOW    "Switch to the previous document window"
  319.     AFX_IDS_SCCLOSE         "Close the active window and prompts to save the documents"
  320. END
  321. STRINGTABLE DISCARDABLE 
  322. BEGIN
  323.     AFX_IDS_SCRESTORE       "Restore the window to normal size"
  324.     AFX_IDS_SCTASKLIST      "Activate Task List"
  325.     AFX_IDS_MDICHILD        "Activate this window"
  326. END
  327. STRINGTABLE DISCARDABLE 
  328. BEGIN
  329.     AFX_IDS_PREVIEW_CLOSE   "Close print preview modenCancel Preview"
  330. END
  331. STRINGTABLE DISCARDABLE 
  332. BEGIN
  333.     ID_VIEW_THEME_OFFICEXP          "Toggles Office XP Theme /nOffice XP Theme"
  334. END
  335. #endif    // English (U.S.) resources
  336. /////////////////////////////////////////////////////////////////////////////
  337. #ifndef APSTUDIO_INVOKED
  338. /////////////////////////////////////////////////////////////////////////////
  339. //
  340. // Generated from the TEXTINCLUDE 3 resource.
  341. //
  342. #define _AFX_NO_SPLITTER_RESOURCES
  343. #define _AFX_NO_OLE_RESOURCES
  344. #define _AFX_NO_TRACKER_RESOURCES
  345. #define _AFX_NO_PROPERTY_RESOURCES
  346. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  347. #ifdef _WIN32
  348. LANGUAGE 9, 1
  349. #pragma code_page(1252)
  350. #endif //_WIN32
  351. #include "resWindowPos.rc2"  // non-Microsoft Visual C++ edited resources
  352. #include "afxres.rc"         // Standard components
  353. #include "afxprint.rc"       // printing/print preview resources
  354. #endif
  355. /////////////////////////////////////////////////////////////////////////////
  356. #endif    // not APSTUDIO_INVOKED