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

对话框与窗口

开发平台:

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\Grep.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_GREPTYPE            ICON    DISCARDABLE     "res\GrepDoc.ico"
  60. /////////////////////////////////////////////////////////////////////////////
  61. //
  62. // Bitmap
  63. //
  64. IDR_MAINFRAME           BITMAP  MOVEABLE PURE   "res\Toolbar.bmp"
  65. IDB_BITMAP_ICONS        BITMAP  MOVEABLE PURE   "res\PaneIcons.bmp"
  66. IDB_TOOLBAR_ALPHA       BITMAP  MOVEABLE PURE   "res\Toolbar_Alpha.bmp"
  67. /////////////////////////////////////////////////////////////////////////////
  68. //
  69. // Toolbar
  70. //
  71. IDR_MAINFRAME TOOLBAR DISCARDABLE  16, 15
  72. BEGIN
  73.     BUTTON      ID_FILE_NEW
  74.     BUTTON      ID_FILE_OPEN
  75.     BUTTON      ID_FILE_SAVE
  76.     SEPARATOR
  77.     BUTTON      ID_EDIT_CUT
  78.     BUTTON      ID_EDIT_COPY
  79.     BUTTON      ID_EDIT_PASTE
  80.     SEPARATOR
  81.     BUTTON      ID_FILE_PRINT
  82.     SEPARATOR
  83.     BUTTON      ID_APP_ABOUT
  84. END
  85. /////////////////////////////////////////////////////////////////////////////
  86. //
  87. // Menu
  88. //
  89. IDR_MAINFRAME MENU PRELOAD DISCARDABLE 
  90. BEGIN
  91.     POPUP "&File"
  92.     BEGIN
  93.         MENUITEM "&NewtCtrl+N",                ID_FILE_NEW
  94.         MENUITEM "&Open...tCtrl+O",            ID_FILE_OPEN
  95.         MENUITEM "&SavetCtrl+S",               ID_FILE_SAVE
  96.         MENUITEM "Save &As...",                 ID_FILE_SAVE_AS
  97.         MENUITEM SEPARATOR
  98.         MENUITEM "&Print...tCtrl+P",           ID_FILE_PRINT
  99.         MENUITEM "Print Pre&view",              ID_FILE_PRINT_PREVIEW
  100.         MENUITEM "P&rint Setup...",             ID_FILE_PRINT_SETUP
  101.         MENUITEM SEPARATOR
  102.         MENUITEM "Recent File",                 ID_FILE_MRU_FILE1, GRAYED
  103.         MENUITEM SEPARATOR
  104.         MENUITEM "E&xit",                       ID_APP_EXIT
  105.     END
  106.     POPUP "&Edit"
  107.     BEGIN
  108.         MENUITEM "&UndotCtrl+Z",               ID_EDIT_UNDO
  109.         MENUITEM SEPARATOR
  110.         MENUITEM "Cu&ttCtrl+X",                ID_EDIT_CUT
  111.         MENUITEM "&CopytCtrl+C",               ID_EDIT_COPY
  112.         MENUITEM "&PastetCtrl+V",              ID_EDIT_PASTE
  113.     END
  114.     POPUP "&View"
  115.     BEGIN
  116.         POPUP "&Toolbars"
  117.         BEGIN
  118.             MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  119.             MENUITEM SEPARATOR
  120.             MENUITEM "&Customize...",               35001
  121.         END
  122.         MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  123.         MENUITEM SEPARATOR
  124.         MENUITEM "Options Pane",                ID_VIEW_OPTIONSPANE
  125.     END
  126.     POPUP "&Help"
  127.     BEGIN
  128.         MENUITEM "&About Grep...",              ID_APP_ABOUT
  129.     END
  130. END
  131. IDR_SEARCH_POPUP MENU DISCARDABLE 
  132. BEGIN
  133.     POPUP "Search"
  134.     BEGIN
  135.         MENUITEM ". Any single character",      ID_SEARCH_REGEXP1
  136.         MENUITEM "* Zero or more",              ID_SEARCH_REGEXP2
  137.         MENUITEM "+ One or more",               ID_SEARCH_REGEXP3
  138.         MENUITEM SEPARATOR
  139.         MENUITEM "^ Begining of line",          ID_SEARCH_REGEXP4
  140.         MENUITEM "$ End of line",               ID_SEARCH_REGEXP5
  141.         MENUITEM "\ Escape special character", ID_SEARCH_REGEXP8
  142.         MENUITEM "[] Any one character in the set", ID_SEARCH_REGEXP6
  143.         MENUITEM "| Or",                        ID_SEARCH_REGEXP7
  144.     END
  145.     POPUP "Replace"
  146.     BEGIN
  147.         MENUITEM "Tagged Expression 1",         ID_REPLACE_REGEXP1
  148.         MENUITEM "Tagged Expression 2",         ID_REPLACE_REGEXP2
  149.         MENUITEM "Tagged Expression 3",         ID_REPLACE_REGEXP3
  150.         MENUITEM "Tagged Expression 4",         ID_REPLACE_REGEXP4
  151.         MENUITEM "Tagged Expression 5",         ID_REPLACE_REGEXP5
  152.     END
  153. END
  154. /////////////////////////////////////////////////////////////////////////////
  155. //
  156. // Accelerator
  157. //
  158. IDR_MAINFRAME ACCELERATORS PRELOAD MOVEABLE PURE 
  159. BEGIN
  160.     "N",            ID_FILE_NEW,            VIRTKEY, CONTROL
  161.     "O",            ID_FILE_OPEN,           VIRTKEY, CONTROL
  162.     "S",            ID_FILE_SAVE,           VIRTKEY, CONTROL
  163.     "P",            ID_FILE_PRINT,          VIRTKEY, CONTROL
  164.     "Z",            ID_EDIT_UNDO,           VIRTKEY, CONTROL
  165.     "X",            ID_EDIT_CUT,            VIRTKEY, CONTROL
  166.     "C",            ID_EDIT_COPY,           VIRTKEY, CONTROL
  167.     "V",            ID_EDIT_PASTE,          VIRTKEY, CONTROL
  168.     VK_BACK,        ID_EDIT_UNDO,           VIRTKEY, ALT
  169.     VK_DELETE,      ID_EDIT_CUT,            VIRTKEY, SHIFT
  170.     VK_INSERT,      ID_EDIT_COPY,           VIRTKEY, CONTROL
  171.     VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY, SHIFT
  172.     VK_F6,          ID_NEXT_PANE,           VIRTKEY 
  173.     VK_F6,          ID_PREV_PANE,           VIRTKEY, SHIFT
  174. END
  175. #ifndef _MAC
  176. /////////////////////////////////////////////////////////////////////////////
  177. //
  178. // Version
  179. //
  180. VS_VERSION_INFO VERSIONINFO
  181.  FILEVERSION 12,0,0,4
  182.  PRODUCTVERSION 12,0,0,4
  183.  FILEFLAGSMASK 0x3fL
  184. #ifdef _DEBUG
  185.  FILEFLAGS 0x1L
  186. #else
  187.  FILEFLAGS 0x0L
  188. #endif
  189.  FILEOS 0x4L
  190.  FILETYPE 0x1L
  191.  FILESUBTYPE 0x0L
  192. BEGIN
  193.     BLOCK "StringFileInfo"
  194.     BEGIN
  195.         BLOCK "040904B0"
  196.         BEGIN
  197.             VALUE "CompanyName", "Codejock Software"
  198.             VALUE "FileDescription", "Grep MFC Application"
  199.             VALUE "FileVersion", "12, 0, 0, 4"
  200.             VALUE "InternalName", "Grep"
  201.             VALUE "LegalCopyright", "(c)1998-2008 Codejock Software, All Rights Reserved."
  202.             VALUE "LegalTrademarks", ""
  203.             VALUE "OriginalFilename", "Grep.EXE"
  204.             VALUE "ProductName", "Grep Application"
  205.             VALUE "ProductVersion", "12, 0, 0, 4"
  206.         END
  207.     END
  208.     BLOCK "VarFileInfo"
  209.     BEGIN
  210.         VALUE "Translation", 0x409, 1200
  211.     END
  212. END
  213. #endif    // !_MAC
  214. /////////////////////////////////////////////////////////////////////////////
  215. //
  216. // Dialog
  217. //
  218. IDD_DIALOG_OPTIONS DIALOGEX DISCARDABLE  0, 0, 118, 218
  219. STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD
  220. FONT 8, "MS Shell Dlg", 0, 0, 0x1
  221. BEGIN
  222.     LTEXT           "Fi&nd what:",IDC_STATIC_FIND,7,8,104,9
  223.     COMBOBOX        IDC_COMBO_FIND,7,18,88,83,CBS_DROPDOWN | CBS_AUTOHSCROLL | 
  224.                     CBS_SORT | WS_VSCROLL | WS_TABSTOP
  225.     PUSHBUTTON      "",IDC_BUTTON_FIND_EXPAND,98,17,13,12,BS_ICON | 
  226.                     BS_CENTER | BS_VCENTER
  227.     LTEXT           "Re&place with:",IDC_STATIC_REPLACE,7,35,104,8
  228.     COMBOBOX        IDC_COMBO_REPLACE,7,45,88,71,CBS_DROPDOWN | 
  229.                     CBS_AUTOHSCROLL | CBS_SORT | WS_VSCROLL | WS_TABSTOP
  230.     PUSHBUTTON      "",IDC_BUTTON_REPLACE_EXPAND,98,44,13,12,BS_ICON | 
  231.                     BS_CENTER | BS_VCENTER
  232.     LTEXT           "&Look in:",IDC_STATIC_PATH,7,61,104,9
  233.     COMBOBOX        IDC_COMBO_PATH,7,71,88,61,CBS_DROPDOWN | CBS_AUTOHSCROLL | 
  234.                     CBS_SORT | WS_VSCROLL | WS_TABSTOP
  235.     PUSHBUTTON      "&...",IDC_BUTTON_PATH_EXPAND,98,70,13,12
  236.     CONTROL         "Include su&b-folders",IDC_CHECK_INCLUDE_SUBFOLDERS,
  237.                     "Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,86,104,11
  238.     GROUPBOX        "Find &Options",IDC_GROUP_FINDOPTIONS,7,103,104,84
  239.     CONTROL         "Match &case",IDC_CHECK_MATCH_CASE,"Button",
  240.                     BS_AUTOCHECKBOX | WS_TABSTOP,15,113,90,10
  241.     CONTROL         "Match &whole words",IDC_CHECK_MATCH_WHOLE_WORDS,"Button",
  242.                     BS_AUTOCHECKBOX | WS_TABSTOP,15,124,89,10
  243.     CONTROL         "R&egular expressions",IDC_CHECK_REGULAR,"Button",
  244.                     BS_AUTOCHECKBOX | WS_TABSTOP,15,134,90,10
  245.     CONTROL         "Find in &Hidden files",IDC_CHECK_HIDDEN,"Button",
  246.                     BS_AUTOCHECKBOX | BS_MULTILINE | WS_TABSTOP,15,145,83,10
  247.     LTEXT           "Look at these file &types:",IDC_STATIC_LOOK,15,159,90,9
  248.     COMBOBOX        IDC_COMBO_TYPE,15,169,90,80,CBS_DROPDOWN | 
  249.                     CBS_AUTOHSCROLL | CBS_SORT | WS_VSCROLL | WS_TABSTOP
  250.     DEFPUSHBUTTON   "&Find All",IDC_BUTTON_FINDALL,7,193,49,15
  251.     PUSHBUTTON      "&Apply",IDC_BUTTON_REPLACEALL,62,193,49,15
  252. END
  253. /////////////////////////////////////////////////////////////////////////////
  254. //
  255. // DESIGNINFO
  256. //
  257. #ifdef APSTUDIO_INVOKED
  258. GUIDELINES DESIGNINFO DISCARDABLE 
  259. BEGIN
  260.     IDD_DIALOG_OPTIONS, DIALOG
  261.     BEGIN
  262.         LEFTMARGIN, 7
  263.         RIGHTMARGIN, 111
  264.         VERTGUIDE, 15
  265.         VERTGUIDE, 95
  266.         VERTGUIDE, 98
  267.         TOPMARGIN, 7
  268.         BOTTOMMARGIN, 211
  269.     END
  270. END
  271. #endif    // APSTUDIO_INVOKED
  272. /////////////////////////////////////////////////////////////////////////////
  273. //
  274. // String Table
  275. //
  276. STRINGTABLE PRELOAD DISCARDABLE 
  277. BEGIN
  278.     IDR_MAINFRAME           "Codejock Search And Replace SamplennGrepnnnGrep.DocumentnGrep Document"
  279. END
  280. STRINGTABLE PRELOAD DISCARDABLE 
  281. BEGIN
  282.     AFX_IDS_APP_TITLE       "Codejock Search And Replace Sample"
  283.     AFX_IDS_IDLEMESSAGE     "Ready"
  284. END
  285. STRINGTABLE DISCARDABLE 
  286. BEGIN
  287.     ID_INDICATOR_EXT        "EXT"
  288.     ID_INDICATOR_CAPS       "CAP"
  289.     ID_INDICATOR_NUM        "NUM"
  290.     ID_INDICATOR_SCRL       "SCRL"
  291.     ID_INDICATOR_OVR        "OVR"
  292.     ID_INDICATOR_REC        "REC"
  293. END
  294. STRINGTABLE DISCARDABLE 
  295. BEGIN
  296.     ID_FILE_NEW             "Create a new documentnNew"
  297.     ID_FILE_OPEN            "Open an existing documentnOpen"
  298.     ID_FILE_CLOSE           "Close the active documentnClose"
  299.     ID_FILE_SAVE            "Save the active documentnSave"
  300.     ID_FILE_SAVE_AS         "Save the active document with a new namenSave As"
  301.     ID_FILE_PAGE_SETUP      "Change the printing optionsnPage Setup"
  302.     ID_FILE_PRINT_SETUP     "Change the printer and printing optionsnPrint Setup"
  303.     ID_FILE_PRINT           "Print the active documentnPrint"
  304.     ID_FILE_PRINT_PREVIEW   "Display full pagesnPrint Preview"
  305. END
  306. STRINGTABLE DISCARDABLE 
  307. BEGIN
  308.     ID_APP_ABOUT            "Display program information, version number and copyrightnAbout"
  309.     ID_APP_EXIT             "Quit the application; prompts to save documentsnExit"
  310. END
  311. STRINGTABLE DISCARDABLE 
  312. BEGIN
  313.     ID_FILE_MRU_FILE1       "Open this document"
  314.     ID_FILE_MRU_FILE2       "Open this document"
  315.     ID_FILE_MRU_FILE3       "Open this document"
  316.     ID_FILE_MRU_FILE4       "Open this document"
  317.     ID_FILE_MRU_FILE5       "Open this document"
  318.     ID_FILE_MRU_FILE6       "Open this document"
  319.     ID_FILE_MRU_FILE7       "Open this document"
  320.     ID_FILE_MRU_FILE8       "Open this document"
  321.     ID_FILE_MRU_FILE9       "Open this document"
  322.     ID_FILE_MRU_FILE10      "Open this document"
  323.     ID_FILE_MRU_FILE11      "Open this document"
  324.     ID_FILE_MRU_FILE12      "Open this document"
  325.     ID_FILE_MRU_FILE13      "Open this document"
  326.     ID_FILE_MRU_FILE14      "Open this document"
  327.     ID_FILE_MRU_FILE15      "Open this document"
  328.     ID_FILE_MRU_FILE16      "Open this document"
  329. END
  330. STRINGTABLE DISCARDABLE 
  331. BEGIN
  332.     ID_NEXT_PANE            "Switch to the next window panenNext Pane"
  333.     ID_PREV_PANE            "Switch back to the previous window panenPrevious Pane"
  334. END
  335. STRINGTABLE DISCARDABLE 
  336. BEGIN
  337.     ID_WINDOW_SPLIT         "Split the active window into panesnSplit"
  338. END
  339. STRINGTABLE DISCARDABLE 
  340. BEGIN
  341.     ID_EDIT_CLEAR           "Erase the selectionnErase"
  342.     ID_EDIT_CLEAR_ALL       "Erase everythingnErase All"
  343.     ID_EDIT_COPY            "Copy the selection and put it on the ClipboardnCopy"
  344.     ID_EDIT_CUT             "Cut the selection and put it on the ClipboardnCut"
  345.     ID_EDIT_FIND            "Find the specified textnFind"
  346.     ID_EDIT_PASTE           "Insert Clipboard contentsnPaste"
  347.     ID_EDIT_REPEAT          "Repeat the last actionnRepeat"
  348.     ID_EDIT_REPLACE         "Replace specific text with different textnReplace"
  349.     ID_EDIT_SELECT_ALL      "Select the entire documentnSelect All"
  350.     ID_EDIT_UNDO            "Undo the last actionnUndo"
  351.     ID_EDIT_REDO            "Redo the previously undone actionnRedo"
  352. END
  353. STRINGTABLE DISCARDABLE 
  354. BEGIN
  355.     ID_VIEW_TOOLBAR         "Show or hide the toolbarnToggle ToolBar"
  356.     ID_VIEW_STATUS_BAR      "Show or hide the status barnToggle StatusBar"
  357. END
  358. STRINGTABLE DISCARDABLE 
  359. BEGIN
  360.     AFX_IDS_SCSIZE          "Change the window size"
  361.     AFX_IDS_SCMOVE          "Change the window position"
  362.     AFX_IDS_SCMINIMIZE      "Reduce the window to an icon"
  363.     AFX_IDS_SCMAXIMIZE      "Enlarge the window to full size"
  364.     AFX_IDS_SCNEXTWINDOW    "Switch to the next document window"
  365.     AFX_IDS_SCPREVWINDOW    "Switch to the previous document window"
  366.     AFX_IDS_SCCLOSE         "Close the active window and prompts to save the documents"
  367. END
  368. STRINGTABLE DISCARDABLE 
  369. BEGIN
  370.     AFX_IDS_SCRESTORE       "Restore the window to normal size"
  371.     AFX_IDS_SCTASKLIST      "Activate Task List"
  372. END
  373. STRINGTABLE DISCARDABLE 
  374. BEGIN
  375.     AFX_IDS_PREVIEW_CLOSE   "Close print preview modenCancel Preview"
  376. END
  377. STRINGTABLE DISCARDABLE 
  378. BEGIN
  379.     IDR_PANE_OPTIONS        "Find And Replace"
  380.     IDR_PANE_PROPERTIES     "Properties"
  381. END
  382. STRINGTABLE DISCARDABLE 
  383. BEGIN
  384.     ID_SEARCH_ANYSINGLECHARACTER "."
  385.     ID_SEARCH_REGEXP1       "."
  386.     ID_SEARCH_REGEXP2       "*"
  387.     ID_SEARCH_REGEXP3       "+"
  388.     ID_SEARCH_BEGININGOFLINE "^"
  389.     ID_SEARCH_REGEXP4       "^"
  390.     ID_SEARCH_ENDOFLINE     "$"
  391.     ID_SEARCH_REGEXP7       "|"
  392.     ID_SEARCH_REGEXP6       "[]"
  393.     ID_SEARCH_REGEXP8       "\"
  394.     ID_REPLACE_FINDWHATTEXT "$1"
  395.     ID_REPLACE_REGEXP1      "$1"
  396. END
  397. STRINGTABLE DISCARDABLE 
  398. BEGIN
  399.     ID_REPLACE_REGEXP2      "$2"
  400.     ID_REPLACE_REGEXP3      "$3"
  401.     ID_REPLACE_REGEXP4      "$4"
  402.     ID_REPLACE_REGEXP5      "$5"
  403. END
  404. #endif    // English (U.S.) resources
  405. /////////////////////////////////////////////////////////////////////////////
  406. #ifndef APSTUDIO_INVOKED
  407. /////////////////////////////////////////////////////////////////////////////
  408. //
  409. // Generated from the TEXTINCLUDE 3 resource.
  410. //
  411. #define _AFX_NO_SPLITTER_RESOURCES
  412. #define _AFX_NO_OLE_RESOURCES
  413. #define _AFX_NO_TRACKER_RESOURCES
  414. #define _AFX_NO_PROPERTY_RESOURCES
  415. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  416. #ifdef _WIN32
  417. LANGUAGE 9, 1
  418. #pragma code_page(1252)
  419. #endif //_WIN32
  420. #include "resGrep.rc2"  // non-Microsoft Visual C++ edited resources
  421. #include "afxres.rc"         // Standard components
  422. #include "afxprint.rc"       // printing/print preview resources
  423. #endif
  424. /////////////////////////////////////////////////////////////////////////////
  425. #endif    // not APSTUDIO_INVOKED