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

对话框与窗口

开发平台:

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_PROPERTY_RESOURCESrn"
  37.     "rn"
  38.     "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)rn"
  39.     "#ifdef _WIN32rn"
  40.     "LANGUAGE 9, 1rn"
  41.     "#pragma code_page(1252)rn"
  42.     "#endif //_WIN32rn"
  43.     "#include ""res\ActionsSample.rc2""  // non-Microsoft Visual C++ edited resourcesrn"
  44.     "#include ""afxres.rc""         // Standard componentsrn"
  45.     "#include ""afxprint.rc""       // printing/print preview resourcesrn"
  46.     "#include ""afxolecl.rc""       // OLE container resourcesrn"
  47.     "#endifrn"
  48.     ""
  49. END
  50. #endif    // APSTUDIO_INVOKED
  51. /////////////////////////////////////////////////////////////////////////////
  52. //
  53. // Icon
  54. //
  55. // Icon with lowest ID value placed first to ensure application icon
  56. // remains consistent on all systems.
  57. IDR_MAINFRAME           ICON    DISCARDABLE     "res\CJSample.ico"
  58. IDR_ACTIONTYPE          ICON    DISCARDABLE     "res\ActionsSampleDoc.ico"
  59. /////////////////////////////////////////////////////////////////////////////
  60. //
  61. // PNG
  62. //
  63. IDR_MAINFRAME           PNG     MOVEABLE PURE   "res\Toolbar.png"
  64. /////////////////////////////////////////////////////////////////////////////
  65. //
  66. // RTF
  67. //
  68. IDR_MAINFRAME           RTF     MOVEABLE PURE   "Readme.rtf"
  69. /////////////////////////////////////////////////////////////////////////////
  70. //
  71. // Toolbar
  72. //
  73. IDR_MAINFRAME TOOLBAR DISCARDABLE  16, 15
  74. BEGIN
  75.     BUTTON      ID_FILE_NEW
  76.     BUTTON      ID_FILE_OPEN
  77.     BUTTON      ID_FILE_SAVE
  78.     SEPARATOR
  79.     BUTTON      ID_FILE_PRINT
  80.     SEPARATOR
  81.     BUTTON      ID_EDIT_CUT
  82.     BUTTON      ID_EDIT_COPY
  83.     BUTTON      ID_EDIT_PASTE
  84.     SEPARATOR
  85.     BUTTON      ID_CHAR_BOLD
  86.     BUTTON      ID_CHAR_ITALIC
  87.     BUTTON      ID_CHAR_UNDERLINE
  88.     SEPARATOR
  89.     BUTTON      ID_PARA_LEFT
  90.     BUTTON      ID_PARA_CENTER
  91.     BUTTON      ID_PARA_RIGHT
  92. END
  93. /////////////////////////////////////////////////////////////////////////////
  94. //
  95. // Menu
  96. //
  97. IDR_MAINFRAME MENU PRELOAD DISCARDABLE 
  98. BEGIN
  99.     POPUP "&Filet2000"
  100.     BEGIN
  101.         MENUITEM "&NewtCtrl+N",                ID_FILE_NEW
  102.         MENUITEM "&Open...tCtrl+O",            ID_FILE_OPEN
  103.         MENUITEM "&SavetCtrl+S",               ID_FILE_SAVE
  104.         MENUITEM "Save &As...",                 ID_FILE_SAVE_AS
  105.         MENUITEM SEPARATOR
  106.         MENUITEM "&Print...tCtrl+P",           ID_FILE_PRINT
  107.         MENUITEM "Print Pre&view",              ID_FILE_PRINT_PREVIEW
  108.         MENUITEM "P&rint Setup...",             ID_FILE_PRINT_SETUP
  109.         MENUITEM SEPARATOR
  110.         MENUITEM "Recent File",                 ID_FILE_MRU_FILE1, GRAYED
  111.         MENUITEM SEPARATOR
  112.         MENUITEM "E&xit",                       ID_APP_EXIT
  113.     END
  114.     POPUP "&Editt2001"
  115.     BEGIN
  116.         MENUITEM "&UndotCtrl+Z",               ID_EDIT_UNDO
  117.         MENUITEM SEPARATOR
  118.         MENUITEM "Cu&ttCtrl+X",                ID_EDIT_CUT
  119.         MENUITEM "&CopytCtrl+C",               ID_EDIT_COPY
  120.         MENUITEM "&PastetCtrl+V",              ID_EDIT_PASTE
  121.         MENUITEM "Select A&lltCtrl+A",         ID_EDIT_SELECT_ALL
  122.         POPUP "Format"
  123.         BEGIN
  124.             MENUITEM "Bold",                        ID_CHAR_BOLD
  125.             MENUITEM "Italic",                      ID_CHAR_ITALIC
  126.             MENUITEM "Underline",                   ID_CHAR_UNDERLINE
  127.         END
  128.         MENUITEM SEPARATOR
  129.         MENUITEM "&Find...tCtrl+F",            ID_EDIT_FIND
  130.         MENUITEM "F&ind NexttF3",              ID_EDIT_REPEAT
  131.         MENUITEM "R&eplacetCtrl+H",            ID_EDIT_REPLACE
  132.     END
  133.     POPUP "&Viewt2002"
  134.     BEGIN
  135.         POPUP "Toolbars"
  136.         BEGIN
  137.             MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  138.         END
  139.         MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  140.     END
  141.     POPUP "&Helpt2003"
  142.     BEGIN
  143.         MENUITEM "&About ActionsSample...",     ID_APP_ABOUT
  144.     END
  145. END
  146. IDR_CNTR_INPLACE MENU PRELOAD DISCARDABLE 
  147. BEGIN
  148.     POPUP "&File"
  149.     BEGIN
  150.         MENUITEM "&NewtCtrl+N",                ID_FILE_NEW
  151.         MENUITEM "&Open...tCtrl+O",            ID_FILE_OPEN
  152.         MENUITEM "&SavetCtrl+S",               ID_FILE_SAVE
  153.         MENUITEM "Save &As...",                 ID_FILE_SAVE_AS
  154.         MENUITEM SEPARATOR
  155.         MENUITEM "&Print...tCtrl+P",           ID_FILE_PRINT
  156.         MENUITEM "Print Pre&view",              ID_FILE_PRINT_PREVIEW
  157.         MENUITEM "P&rint Setup...",             ID_FILE_PRINT_SETUP
  158.         MENUITEM SEPARATOR
  159.         MENUITEM "Recent File",                 ID_FILE_MRU_FILE1, GRAYED
  160.         MENUITEM SEPARATOR
  161.         MENUITEM "E&xit",                       ID_APP_EXIT
  162.     END
  163.     MENUITEM SEPARATOR
  164.     MENUITEM SEPARATOR
  165. END
  166. /////////////////////////////////////////////////////////////////////////////
  167. //
  168. // Accelerator
  169. //
  170. IDR_MAINFRAME ACCELERATORS PRELOAD MOVEABLE PURE 
  171. BEGIN
  172.     "N",            ID_FILE_NEW,            VIRTKEY, CONTROL
  173.     "O",            ID_FILE_OPEN,           VIRTKEY, CONTROL
  174.     "S",            ID_FILE_SAVE,           VIRTKEY, CONTROL
  175.     "P",            ID_FILE_PRINT,          VIRTKEY, CONTROL
  176.     "Z",            ID_EDIT_UNDO,           VIRTKEY, CONTROL
  177.     "X",            ID_EDIT_CUT,            VIRTKEY, CONTROL
  178.     "C",            ID_EDIT_COPY,           VIRTKEY, CONTROL
  179.     "V",            ID_EDIT_PASTE,          VIRTKEY, CONTROL
  180.     "A",            ID_EDIT_SELECT_ALL,     VIRTKEY, CONTROL
  181.     "F",            ID_EDIT_FIND,           VIRTKEY, CONTROL
  182.     VK_F3,          ID_EDIT_REPEAT,         VIRTKEY 
  183.     "H",            ID_EDIT_REPLACE,        VIRTKEY, CONTROL
  184.     VK_RETURN,      ID_OLE_EDIT_PROPERTIES, VIRTKEY, ALT, NOINVERT
  185.     VK_BACK,        ID_EDIT_UNDO,           VIRTKEY, ALT
  186.     VK_DELETE,      ID_EDIT_CUT,            VIRTKEY, SHIFT
  187.     VK_INSERT,      ID_EDIT_COPY,           VIRTKEY, CONTROL
  188.     VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY, SHIFT
  189.     VK_F6,          ID_NEXT_PANE,           VIRTKEY 
  190.     VK_F6,          ID_PREV_PANE,           VIRTKEY, SHIFT
  191.     VK_ESCAPE,      ID_CANCEL_EDIT_CNTR,    VIRTKEY, NOINVERT
  192. END
  193. IDR_CNTR_INPLACE ACCELERATORS PRELOAD MOVEABLE PURE 
  194. BEGIN
  195.     "N",            ID_FILE_NEW,            VIRTKEY, CONTROL
  196.     "O",            ID_FILE_OPEN,           VIRTKEY, CONTROL
  197.     "S",            ID_FILE_SAVE,           VIRTKEY, CONTROL
  198.     "P",            ID_FILE_PRINT,          VIRTKEY, CONTROL
  199.     VK_F6,          ID_NEXT_PANE,           VIRTKEY 
  200.     VK_F6,          ID_PREV_PANE,           VIRTKEY, SHIFT
  201.     VK_ESCAPE,      ID_CANCEL_EDIT_CNTR,    VIRTKEY, NOINVERT
  202. END
  203. #ifndef _MAC
  204. /////////////////////////////////////////////////////////////////////////////
  205. //
  206. // Version
  207. //
  208. VS_VERSION_INFO VERSIONINFO
  209.  FILEVERSION 12,0,0,4
  210.  PRODUCTVERSION 12,0,0,4
  211.  FILEFLAGSMASK 0x3fL
  212. #ifdef _DEBUG
  213.  FILEFLAGS 0x1L
  214. #else
  215.  FILEFLAGS 0x0L
  216. #endif
  217.  FILEOS 0x4L
  218.  FILETYPE 0x1L
  219.  FILESUBTYPE 0x0L
  220. BEGIN
  221.     BLOCK "StringFileInfo"
  222.     BEGIN
  223.         BLOCK "040904B0"
  224.         BEGIN
  225.             VALUE "CompanyName", "Codejock Software"
  226.             VALUE "FileDescription", "ActionsSample MFC Application"
  227.             VALUE "FileVersion", "12, 0, 0, 4"
  228.             VALUE "InternalName", "ActionsSample"
  229.             VALUE "LegalCopyright", "(c)1998-2008 Codejock Software, All Rights Reserved."
  230.             VALUE "LegalTrademarks", ""
  231.             VALUE "OriginalFilename", "ActionsSample.EXE"
  232.             VALUE "ProductName", "ActionsSample Application"
  233.             VALUE "ProductVersion", "12, 0, 0, 4"
  234.         END
  235.     END
  236.     BLOCK "VarFileInfo"
  237.     BEGIN
  238.         VALUE "Translation", 0x409, 1200
  239.     END
  240. END
  241. #endif    // !_MAC
  242. /////////////////////////////////////////////////////////////////////////////
  243. //
  244. // Dialog
  245. //
  246. IDD_DIALOG_ACTIONS DIALOG DISCARDABLE  0, 0, 134, 235
  247. STYLE WS_CHILD
  248. FONT 8, "MS Sans Serif"
  249. BEGIN
  250.     LTEXT           "Actions",IDC_STATIC,7,7,102,8
  251.     COMBOBOX        IDC_COMBO_ACTIONS,7,17,120,74,CBS_DROPDOWNLIST | 
  252.                     WS_VSCROLL | WS_TABSTOP
  253.     GROUPBOX        "State",IDC_STATIC,7,37,120,50
  254.     CONTROL         "Visible",IDC_CHECK_VISIBLE,"Button",BS_AUTOCHECKBOX | 
  255.                     WS_TABSTOP,14,48,94,11
  256.     CONTROL         "Enabled",IDC_CHECK_ENABLED,"Button",BS_AUTOCHECKBOX | 
  257.                     WS_TABSTOP,14,57,78,15
  258.     CONTROL         "Checked",IDC_CHECK_CHECKED,"Button",BS_AUTOCHECKBOX | 
  259.                     WS_TABSTOP,14,69,78,15
  260.     GROUPBOX        "Properties",IDC_STATIC,7,92,120,100
  261.     LTEXT           "Caption",IDC_STATIC,14,106,77,9
  262.     EDITTEXT        IDC_EDIT_CAPTION,14,116,105,13,ES_AUTOHSCROLL
  263.     LTEXT           "Tooltip",IDC_STATIC,14,133,77,9
  264.     EDITTEXT        IDC_EDIT_TOOLTIP,14,143,105,13,ES_AUTOHSCROLL
  265.     LTEXT           "Description",IDC_STATIC,14,161,77,9
  266.     EDITTEXT        IDC_EDIT_DESCRIPTION,14,172,105,13,ES_AUTOHSCROLL
  267.     PUSHBUTTON      "Load",IDC_BUTTON_LOAD,14,214,48,14
  268.     PUSHBUTTON      "Save",IDC_BUTTON_SAVE,71,214,48,14
  269. END
  270. /////////////////////////////////////////////////////////////////////////////
  271. //
  272. // DESIGNINFO
  273. //
  274. #ifdef APSTUDIO_INVOKED
  275. GUIDELINES DESIGNINFO DISCARDABLE 
  276. BEGIN
  277.     IDD_DIALOG_ACTIONS, DIALOG
  278.     BEGIN
  279.         LEFTMARGIN, 7
  280.         RIGHTMARGIN, 127
  281.         VERTGUIDE, 14
  282.         VERTGUIDE, 119
  283.         TOPMARGIN, 7
  284.         BOTTOMMARGIN, 228
  285.         HORZGUIDE, 214
  286.     END
  287. END
  288. #endif    // APSTUDIO_INVOKED
  289. /////////////////////////////////////////////////////////////////////////////
  290. //
  291. // String Table
  292. //
  293. STRINGTABLE DISCARDABLE 
  294. BEGIN
  295.     IDP_OLE_INIT_FAILED     "OLE initialization failed.  Make sure that the OLE libraries are the correct version."
  296.     IDP_FAILED_TO_CREATE    "Failed to create object.  Make sure the object is entered in the system registry."
  297. END
  298. STRINGTABLE PRELOAD DISCARDABLE 
  299. BEGIN
  300.     IDR_MAINFRAME           "Codejock Actions SamplennActionnnnActionsSample.DocumentnAction Document"
  301. END
  302. STRINGTABLE PRELOAD DISCARDABLE 
  303. BEGIN
  304.     AFX_IDS_APP_TITLE       "Codejock Actions Sample"
  305.     AFX_IDS_IDLEMESSAGE     "Ready"
  306. END
  307. STRINGTABLE DISCARDABLE 
  308. BEGIN
  309.     ID_INDICATOR_EXT        "EXT"
  310.     ID_INDICATOR_CAPS       "CAP"
  311.     ID_INDICATOR_NUM        "NUM"
  312.     ID_INDICATOR_SCRL       "SCRL"
  313.     ID_INDICATOR_OVR        "OVR"
  314.     ID_INDICATOR_REC        "REC"
  315. END
  316. STRINGTABLE DISCARDABLE 
  317. BEGIN
  318.     ID_FILE_NEW             "Create a new documentnNew"
  319.     ID_FILE_OPEN            "Open an existing documentnOpen"
  320.     ID_FILE_CLOSE           "Close the active documentnClose"
  321.     ID_FILE_SAVE            "Save the active documentnSave"
  322.     ID_FILE_SAVE_AS         "Save the active document with a new namenSave As"
  323.     ID_FILE_PAGE_SETUP      "Change the printing optionsnPage Setup"
  324.     ID_FILE_PRINT_SETUP     "Change the printer and printing optionsnPrint Setup"
  325.     ID_FILE_PRINT           "Print the active documentnPrint"
  326.     ID_FILE_PRINT_PREVIEW   "Display full pagesnPrint Preview"
  327. END
  328. STRINGTABLE DISCARDABLE 
  329. BEGIN
  330.     ID_APP_ABOUT            "Display program information, version number and copyrightnAbout"
  331.     ID_APP_EXIT             "Quit the application; prompts to save documentsnExit"
  332. END
  333. STRINGTABLE DISCARDABLE 
  334. BEGIN
  335.     ID_FILE_MRU_FILE1       "Open this document"
  336.     ID_FILE_MRU_FILE2       "Open this document"
  337.     ID_FILE_MRU_FILE3       "Open this document"
  338.     ID_FILE_MRU_FILE4       "Open this document"
  339.     ID_FILE_MRU_FILE5       "Open this document"
  340.     ID_FILE_MRU_FILE6       "Open this document"
  341.     ID_FILE_MRU_FILE7       "Open this document"
  342.     ID_FILE_MRU_FILE8       "Open this document"
  343.     ID_FILE_MRU_FILE9       "Open this document"
  344.     ID_FILE_MRU_FILE10      "Open this document"
  345.     ID_FILE_MRU_FILE11      "Open this document"
  346.     ID_FILE_MRU_FILE12      "Open this document"
  347.     ID_FILE_MRU_FILE13      "Open this document"
  348.     ID_FILE_MRU_FILE14      "Open this document"
  349.     ID_FILE_MRU_FILE15      "Open this document"
  350.     ID_FILE_MRU_FILE16      "Open this document"
  351. END
  352. STRINGTABLE DISCARDABLE 
  353. BEGIN
  354.     ID_NEXT_PANE            "Switch to the next window panenNext Pane"
  355.     ID_PREV_PANE            "Switch back to the previous window panenPrevious Pane"
  356. END
  357. STRINGTABLE DISCARDABLE 
  358. BEGIN
  359.     ID_WINDOW_SPLIT         "Split the active window into panesnSplit"
  360. END
  361. STRINGTABLE DISCARDABLE 
  362. BEGIN
  363.     ID_EDIT_CLEAR           "Erase the selectionnErase"
  364.     ID_EDIT_CLEAR_ALL       "Erase everythingnErase All"
  365.     ID_EDIT_COPY            "Copy the selection and put it on the ClipboardnCopy"
  366.     ID_EDIT_CUT             "Cut the selection and put it on the ClipboardnCut"
  367.     ID_EDIT_FIND            "Find the specified textnFind"
  368.     ID_EDIT_PASTE           "Insert Clipboard contentsnPaste"
  369.     ID_EDIT_PASTE_LINK      "Insert Clipboard contents and a link to its sourcenPaste Link"
  370.     ID_EDIT_PASTE_SPECIAL   "Insert Clipboard contents with optionsnPaste Special"
  371.     ID_EDIT_REPEAT          "Repeat the last actionnRepeat"
  372.     ID_EDIT_REPLACE         "Replace specific text with different textnReplace"
  373.     ID_EDIT_SELECT_ALL      "Select the entire documentnSelect All"
  374.     ID_EDIT_UNDO            "Undo the last actionnUndo"
  375.     ID_EDIT_REDO            "Redo the previously undone actionnRedo"
  376. END
  377. STRINGTABLE DISCARDABLE 
  378. BEGIN
  379.     ID_VIEW_TOOLBAR         "Show or hide the toolbarnToggle ToolBar"
  380.     ID_VIEW_STATUS_BAR      "Show or hide the status barnToggle StatusBar"
  381. END
  382. STRINGTABLE DISCARDABLE 
  383. BEGIN
  384.     ID_OLE_INSERT_NEW       "Insert new embedded objectnNew Object"
  385.     ID_OLE_EDIT_LINKS       "Edit linked objectsnEdit Links"
  386.     ID_OLE_EDIT_CONVERT     "Convert object to different typenConvert Object"
  387. END
  388. STRINGTABLE DISCARDABLE 
  389. BEGIN
  390.     ID_OLE_VERB_FIRST       "Activate embedded or linked object"
  391.     57873                   "Activate embedded or linked object"
  392.     57874                   "Activate embedded or linked object"
  393.     57875                   "Activate embedded or linked object"
  394. END
  395. STRINGTABLE DISCARDABLE 
  396. BEGIN
  397.     AFX_IDS_SCSIZE          "Change the window size"
  398.     AFX_IDS_SCMOVE          "Change the window position"
  399.     AFX_IDS_SCMINIMIZE      "Reduce the window to an icon"
  400.     AFX_IDS_SCMAXIMIZE      "Enlarge the window to full size"
  401.     AFX_IDS_SCNEXTWINDOW    "Switch to the next document window"
  402.     AFX_IDS_SCPREVWINDOW    "Switch to the previous document window"
  403.     AFX_IDS_SCCLOSE         "Close the active window and prompts to save the documents"
  404. END
  405. STRINGTABLE DISCARDABLE 
  406. BEGIN
  407.     AFX_IDS_SCRESTORE       "Restore the window to normal size"
  408.     AFX_IDS_SCTASKLIST      "Activate Task List"
  409. END
  410. STRINGTABLE DISCARDABLE 
  411. BEGIN
  412.     AFX_IDS_PREVIEW_CLOSE   "Close print preview modenCancel Preview"
  413. END
  414. STRINGTABLE DISCARDABLE 
  415. BEGIN
  416.     ID_CHAR_BOLD            "Bold"
  417.     ID_CHAR_ITALIC          "Italic"
  418.     ID_CHAR_UNDERLINE       "Underline"
  419.     ID_PARA_LEFT            "Left"
  420.     ID_PARA_CENTER          "Center"
  421.     ID_PARA_RIGHT           "Right"
  422. END
  423. #endif    // English (U.S.) resources
  424. /////////////////////////////////////////////////////////////////////////////
  425. #ifndef APSTUDIO_INVOKED
  426. /////////////////////////////////////////////////////////////////////////////
  427. //
  428. // Generated from the TEXTINCLUDE 3 resource.
  429. //
  430. #define _AFX_NO_SPLITTER_RESOURCES
  431. #define _AFX_NO_PROPERTY_RESOURCES
  432. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  433. #ifdef _WIN32
  434. LANGUAGE 9, 1
  435. #pragma code_page(1252)
  436. #endif //_WIN32
  437. #include "resActionsSample.rc2"  // non-Microsoft Visual C++ edited resources
  438. #include "afxres.rc"         // Standard components
  439. #include "afxprint.rc"       // printing/print preview resources
  440. #include "afxolecl.rc"       // OLE container resources
  441. #endif
  442. /////////////////////////////////////////////////////////////////////////////
  443. #endif    // not APSTUDIO_INVOKED