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

对话框与窗口

开发平台:

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. // Russian resources
  14. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_RUS)
  15. #ifdef _WIN32
  16. LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
  17. #pragma code_page(1251)
  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\ReportCustomHeap.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. #endif    // Russian resources
  53. /////////////////////////////////////////////////////////////////////////////
  54. /////////////////////////////////////////////////////////////////////////////
  55. // English (U.S.) resources
  56. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  57. #ifdef _WIN32
  58. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  59. #pragma code_page(1252)
  60. #endif //_WIN32
  61. /////////////////////////////////////////////////////////////////////////////
  62. //
  63. // Icon
  64. //
  65. // Icon with lowest ID value placed first to ensure application icon
  66. // remains consistent on all systems.
  67. IDR_MAINFRAME           ICON    DISCARDABLE     "res\CJSample.ico"
  68. IDR_REPORTTYPE          ICON    DISCARDABLE     "res\ReportCustomHeapDoc.ico"
  69. /////////////////////////////////////////////////////////////////////////////
  70. //
  71. // Bitmap
  72. //
  73. IDR_MAINFRAME           BITMAP  MOVEABLE PURE   "res\Toolbar.bmp"
  74. /////////////////////////////////////////////////////////////////////////////
  75. //
  76. // Toolbar
  77. //
  78. IDR_MAINFRAME TOOLBAR DISCARDABLE  16, 15
  79. BEGIN
  80.     BUTTON      ID_FILE_NEW
  81.     BUTTON      ID_FILE_OPEN
  82.     BUTTON      ID_FILE_SAVE
  83.     SEPARATOR
  84.     BUTTON      ID_EDIT_CUT
  85.     BUTTON      ID_EDIT_COPY
  86.     BUTTON      ID_EDIT_PASTE
  87.     SEPARATOR
  88.     BUTTON      ID_FILE_PRINT
  89.     SEPARATOR
  90.     BUTTON      ID_APP_ABOUT
  91. END
  92. /////////////////////////////////////////////////////////////////////////////
  93. //
  94. // Menu
  95. //
  96. IDR_MAINFRAME MENU PRELOAD DISCARDABLE 
  97. BEGIN
  98.     POPUP "&File"
  99.     BEGIN
  100.         MENUITEM "&NewtCtrl+N",                ID_FILE_NEW
  101.         MENUITEM "&Open...tCtrl+O",            ID_FILE_OPEN
  102.         MENUITEM SEPARATOR
  103.         MENUITEM "P&rint Setup...",             ID_FILE_PRINT_SETUP
  104.         MENUITEM SEPARATOR
  105.         MENUITEM "Recent File",                 ID_FILE_MRU_FILE1, GRAYED
  106.         MENUITEM SEPARATOR
  107.         MENUITEM "E&xit",                       ID_APP_EXIT
  108.     END
  109.     POPUP "&View"
  110.     BEGIN
  111.         MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  112.         MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  113.     END
  114.     POPUP "&Help"
  115.     BEGIN
  116.         MENUITEM "&About ReportCustomHeap...",  ID_APP_ABOUT
  117.     END
  118. END
  119. IDR_REPORTTYPE MENU PRELOAD DISCARDABLE 
  120. BEGIN
  121.     POPUP "&File"
  122.     BEGIN
  123.         MENUITEM "&NewtCtrl+N",                ID_FILE_NEW
  124.         MENUITEM "&Open...tCtrl+O",            ID_FILE_OPEN
  125.         MENUITEM "&Close",                      ID_FILE_CLOSE
  126.         MENUITEM "&SavetCtrl+S",               ID_FILE_SAVE
  127.         MENUITEM "Save &As...",                 ID_FILE_SAVE_AS
  128.         MENUITEM SEPARATOR
  129.         MENUITEM "&Print...tCtrl+P",           ID_FILE_PRINT
  130.         MENUITEM "Print Pre&view",              ID_FILE_PRINT_PREVIEW
  131.         MENUITEM "P&rint Setup...",             ID_FILE_PRINT_SETUP
  132.         MENUITEM SEPARATOR
  133.         MENUITEM "Recent File",                 ID_FILE_MRU_FILE1, GRAYED
  134.         MENUITEM SEPARATOR
  135.         MENUITEM "E&xit",                       ID_APP_EXIT
  136.     END
  137.     POPUP "&Edit"
  138.     BEGIN
  139.         MENUITEM "&UndotCtrl+Z",               ID_EDIT_UNDO
  140.         MENUITEM SEPARATOR
  141.         MENUITEM "Cu&ttCtrl+X",                ID_EDIT_CUT
  142.         MENUITEM "&CopytCtrl+C",               ID_EDIT_COPY
  143.         MENUITEM "&PastetCtrl+V",              ID_EDIT_PASTE
  144.     END
  145.     POPUP "&View"
  146.     BEGIN
  147.         MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  148.         MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  149.         MENUITEM SEPARATOR
  150.         MENUITEM "Prewiew mode",                ID_VIEW_PREVIEW_MODE
  151.     END
  152.     POPUP "&Test"
  153.     BEGIN
  154.         MENUITEM "Add 10.000 records",          ID_ADD_10K_RECORDS
  155.         MENUITEM "Add 20.000 records",          ID_ADD_20K_RECORDS
  156.         MENUITEM SEPARATOR
  157.         MENUITEM "Batch Add 10.000 records",    ID_BATCHADD_10K_RECORDS
  158.         MENUITEM "Batch Add 20.000 records",    ID_BATCHADD_20K_RECORDS
  159.         MENUITEM "Free extra batch data",       ID_FREE_EXTRA_BATCH_DATA
  160.         MENUITEM SEPARATOR
  161.         MENUITEM "Remove All",                  ID_REMOVE_ALL_RECORDS
  162.         MENUITEM "Remove half records (random)", ID_REMOVE_HALF_RECORDS
  163.     END
  164.     POPUP "&Window"
  165.     BEGIN
  166.         MENUITEM "&New Window",                 ID_WINDOW_NEW
  167.         MENUITEM "&Cascade",                    ID_WINDOW_CASCADE
  168.         MENUITEM "&Tile",                       ID_WINDOW_TILE_HORZ
  169.         MENUITEM "&Arrange Icons",              ID_WINDOW_ARRANGE
  170.     END
  171.     POPUP "&Help"
  172.     BEGIN
  173.         MENUITEM "&About ReportCustomHeap...",  ID_APP_ABOUT
  174.     END
  175. END
  176. /////////////////////////////////////////////////////////////////////////////
  177. //
  178. // Accelerator
  179. //
  180. IDR_MAINFRAME ACCELERATORS PRELOAD MOVEABLE PURE 
  181. BEGIN
  182.     "N",            ID_FILE_NEW,            VIRTKEY, CONTROL
  183.     "O",            ID_FILE_OPEN,           VIRTKEY, CONTROL
  184.     "S",            ID_FILE_SAVE,           VIRTKEY, CONTROL
  185.     "P",            ID_FILE_PRINT,          VIRTKEY, CONTROL
  186.     "Z",            ID_EDIT_UNDO,           VIRTKEY, CONTROL
  187.     "X",            ID_EDIT_CUT,            VIRTKEY, CONTROL
  188.     "C",            ID_EDIT_COPY,           VIRTKEY, CONTROL
  189.     "V",            ID_EDIT_PASTE,          VIRTKEY, CONTROL
  190.     VK_BACK,        ID_EDIT_UNDO,           VIRTKEY, ALT
  191.     VK_DELETE,      ID_EDIT_CUT,            VIRTKEY, SHIFT
  192.     VK_INSERT,      ID_EDIT_COPY,           VIRTKEY, CONTROL
  193.     VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY, SHIFT
  194.     VK_F6,          ID_NEXT_PANE,           VIRTKEY 
  195.     VK_F6,          ID_PREV_PANE,           VIRTKEY, SHIFT
  196. END
  197. #ifndef _MAC
  198. /////////////////////////////////////////////////////////////////////////////
  199. //
  200. // Version
  201. //
  202. VS_VERSION_INFO VERSIONINFO
  203.  FILEVERSION 12,0,0,4
  204.  PRODUCTVERSION 12,0,0,4
  205.  FILEFLAGSMASK 0x3fL
  206. #ifdef _DEBUG
  207.  FILEFLAGS 0x1L
  208. #else
  209.  FILEFLAGS 0x0L
  210. #endif
  211.  FILEOS 0x4L
  212.  FILETYPE 0x1L
  213.  FILESUBTYPE 0x0L
  214. BEGIN
  215.     BLOCK "StringFileInfo"
  216.     BEGIN
  217.         BLOCK "040904B0"
  218.         BEGIN
  219.             VALUE "CompanyName", "Codejock Software"
  220.             VALUE "FileDescription", "ReportCustomHeap MFC Application"
  221.             VALUE "FileVersion", "12, 0, 0, 4"
  222.             VALUE "InternalName", "ReportCustomHeap"
  223.             VALUE "LegalCopyright", "(c)1998-2008 Codejock Software, All Rights Reserved."
  224.             VALUE "LegalTrademarks", ""
  225.             VALUE "OriginalFilename", "ReportCustomHeap.EXE"
  226.             VALUE "ProductName", "ReportCustomHeap Application"
  227.             VALUE "ProductVersion", "12, 0, 0, 4"
  228.         END
  229.     END
  230.     BLOCK "VarFileInfo"
  231.     BEGIN
  232.         VALUE "Translation", 0x409, 1200
  233.     END
  234. END
  235. #endif    // !_MAC
  236. /////////////////////////////////////////////////////////////////////////////
  237. //
  238. // Dialog
  239. //
  240. IDD_ALLOCATION_OPTIONS_DLG DIALOG DISCARDABLE  0, 0, 328, 90
  241. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  242. CAPTION "Allocation options (Codejock ReportControl custom heap sample)"
  243. FONT 8, "MS Sans Serif"
  244. BEGIN
  245.     DEFPUSHBUTTON   "OK",IDOK,139,69,50,14
  246.     CONTROL         "Use Custom Heap feature",IDC_CHK_USE_CUSTOM_HEAP,"Button",
  247.                     BS_AUTOCHECKBOX | WS_TABSTOP,7,7,314,11
  248.     CONTROL         "Use batch allocation for rows objects",
  249.                     IDC_CHK_ENABLE_ROW_BATCH_ALLOCATION,"Button",
  250.                     BS_AUTOCHECKBOX | WS_TABSTOP,7,22,314,11
  251. END
  252. /////////////////////////////////////////////////////////////////////////////
  253. //
  254. // DESIGNINFO
  255. //
  256. #ifdef APSTUDIO_INVOKED
  257. GUIDELINES DESIGNINFO DISCARDABLE 
  258. BEGIN
  259.     IDD_ALLOCATION_OPTIONS_DLG, DIALOG
  260.     BEGIN
  261.         LEFTMARGIN, 7
  262.         RIGHTMARGIN, 321
  263.         TOPMARGIN, 7
  264.         BOTTOMMARGIN, 83
  265.     END
  266. END
  267. #endif    // APSTUDIO_INVOKED
  268. /////////////////////////////////////////////////////////////////////////////
  269. //
  270. // String Table
  271. //
  272. STRINGTABLE PRELOAD DISCARDABLE 
  273. BEGIN
  274.     IDR_MAINFRAME           "ReportCustomHeap"
  275.     IDR_REPORTTYPE          "nReportnReportnnnReportCustomHeap.DocumentnReport Document"
  276. END
  277. STRINGTABLE PRELOAD DISCARDABLE 
  278. BEGIN
  279.     AFX_IDS_APP_TITLE       "Codejock ReportCustomHeap Sample"
  280.     AFX_IDS_IDLEMESSAGE     "Ready"
  281. END
  282. STRINGTABLE DISCARDABLE 
  283. BEGIN
  284.     ID_INDICATOR_EXT        "EXT"
  285.     ID_INDICATOR_CAPS       "CAP"
  286.     ID_INDICATOR_NUM        "NUM"
  287.     ID_INDICATOR_SCRL       "SCRL"
  288.     ID_INDICATOR_OVR        "OVR"
  289.     ID_INDICATOR_REC        "REC"
  290. END
  291. STRINGTABLE DISCARDABLE 
  292. BEGIN
  293.     ID_FILE_NEW             "Create a new documentnNew"
  294.     ID_FILE_OPEN            "Open an existing documentnOpen"
  295.     ID_FILE_CLOSE           "Close the active documentnClose"
  296.     ID_FILE_SAVE            "Save the active documentnSave"
  297.     ID_FILE_SAVE_AS         "Save the active document with a new namenSave As"
  298.     ID_FILE_PAGE_SETUP      "Change the printing optionsnPage Setup"
  299.     ID_FILE_PRINT_SETUP     "Change the printer and printing optionsnPrint Setup"
  300.     ID_FILE_PRINT           "Print the active documentnPrint"
  301.     ID_FILE_PRINT_PREVIEW   "Display full pagesnPrint Preview"
  302. END
  303. STRINGTABLE DISCARDABLE 
  304. BEGIN
  305.     ID_APP_ABOUT            "Display program information, version number and copyrightnAbout"
  306.     ID_APP_EXIT             "Quit the application; prompts to save documentsnExit"
  307. END
  308. STRINGTABLE DISCARDABLE 
  309. BEGIN
  310.     ID_FILE_MRU_FILE1       "Open this document"
  311.     ID_FILE_MRU_FILE2       "Open this document"
  312.     ID_FILE_MRU_FILE3       "Open this document"
  313.     ID_FILE_MRU_FILE4       "Open this document"
  314.     ID_FILE_MRU_FILE5       "Open this document"
  315.     ID_FILE_MRU_FILE6       "Open this document"
  316.     ID_FILE_MRU_FILE7       "Open this document"
  317.     ID_FILE_MRU_FILE8       "Open this document"
  318.     ID_FILE_MRU_FILE9       "Open this document"
  319.     ID_FILE_MRU_FILE10      "Open this document"
  320.     ID_FILE_MRU_FILE11      "Open this document"
  321.     ID_FILE_MRU_FILE12      "Open this document"
  322.     ID_FILE_MRU_FILE13      "Open this document"
  323.     ID_FILE_MRU_FILE14      "Open this document"
  324.     ID_FILE_MRU_FILE15      "Open this document"
  325.     ID_FILE_MRU_FILE16      "Open this document"
  326. END
  327. STRINGTABLE DISCARDABLE 
  328. BEGIN
  329.     ID_NEXT_PANE            "Switch to the next window panenNext Pane"
  330.     ID_PREV_PANE            "Switch back to the previous window panenPrevious Pane"
  331. END
  332. STRINGTABLE DISCARDABLE 
  333. BEGIN
  334.     ID_WINDOW_NEW           "Open another window for the active documentnNew Window"
  335.     ID_WINDOW_ARRANGE       "Arrange icons at the bottom of the windownArrange Icons"
  336.     ID_WINDOW_CASCADE       "Arrange windows so they overlapnCascade Windows"
  337.     ID_WINDOW_TILE_HORZ     "Arrange windows as non-overlapping tilesnTile Windows"
  338.     ID_WINDOW_TILE_VERT     "Arrange windows as non-overlapping tilesnTile Windows"
  339.     ID_WINDOW_SPLIT         "Split the active window into panesnSplit"
  340. END
  341. STRINGTABLE DISCARDABLE 
  342. BEGIN
  343.     ID_EDIT_CLEAR           "Erase the selectionnErase"
  344.     ID_EDIT_CLEAR_ALL       "Erase everythingnErase All"
  345.     ID_EDIT_COPY            "Copy the selection and put it on the ClipboardnCopy"
  346.     ID_EDIT_CUT             "Cut the selection and put it on the ClipboardnCut"
  347.     ID_EDIT_FIND            "Find the specified textnFind"
  348.     ID_EDIT_PASTE           "Insert Clipboard contentsnPaste"
  349.     ID_EDIT_REPEAT          "Repeat the last actionnRepeat"
  350.     ID_EDIT_REPLACE         "Replace specific text with different textnReplace"
  351.     ID_EDIT_SELECT_ALL      "Select the entire documentnSelect All"
  352.     ID_EDIT_UNDO            "Undo the last actionnUndo"
  353.     ID_EDIT_REDO            "Redo the previously undone actionnRedo"
  354. END
  355. STRINGTABLE DISCARDABLE 
  356. BEGIN
  357.     ID_VIEW_TOOLBAR         "Show or hide the toolbarnToggle ToolBar"
  358.     ID_VIEW_STATUS_BAR      "Show or hide the status barnToggle StatusBar"
  359. END
  360. STRINGTABLE DISCARDABLE 
  361. BEGIN
  362.     AFX_IDS_SCSIZE          "Change the window size"
  363.     AFX_IDS_SCMOVE          "Change the window position"
  364.     AFX_IDS_SCMINIMIZE      "Reduce the window to an icon"
  365.     AFX_IDS_SCMAXIMIZE      "Enlarge the window to full size"
  366.     AFX_IDS_SCNEXTWINDOW    "Switch to the next document window"
  367.     AFX_IDS_SCPREVWINDOW    "Switch to the previous document window"
  368.     AFX_IDS_SCCLOSE         "Close the active window and prompts to save the documents"
  369. END
  370. STRINGTABLE DISCARDABLE 
  371. BEGIN
  372.     AFX_IDS_SCRESTORE       "Restore the window to normal size"
  373.     AFX_IDS_SCTASKLIST      "Activate Task List"
  374.     AFX_IDS_MDICHILD        "Activate this window"
  375. END
  376. STRINGTABLE DISCARDABLE 
  377. BEGIN
  378.     AFX_IDS_PREVIEW_CLOSE   "Close print preview modenCancel Preview"
  379. END
  380. #endif    // English (U.S.) resources
  381. /////////////////////////////////////////////////////////////////////////////
  382. #ifndef APSTUDIO_INVOKED
  383. /////////////////////////////////////////////////////////////////////////////
  384. //
  385. // Generated from the TEXTINCLUDE 3 resource.
  386. //
  387. #define _AFX_NO_SPLITTER_RESOURCES
  388. #define _AFX_NO_OLE_RESOURCES
  389. #define _AFX_NO_TRACKER_RESOURCES
  390. #define _AFX_NO_PROPERTY_RESOURCES
  391. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  392. #ifdef _WIN32
  393. LANGUAGE 9, 1
  394. #pragma code_page(1252)
  395. #endif //_WIN32
  396. #include "resReportCustomHeap.rc2"  // non-Microsoft Visual C++ edited resources
  397. #include "afxres.rc"         // Standard components
  398. #include "afxprint.rc"       // printing/print preview resources
  399. #endif
  400. /////////////////////////////////////////////////////////////////////////////
  401. #endif    // not APSTUDIO_INVOKED