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