// Microsoft Visual C++ generated resource script.
//
#include "..\resource.h"

#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#define APSTUDIO_HIDDEN_SYMBOLS
#include "windows.h"
#undef APSTUDIO_HIDDEN_SYMBOLS
#ifndef APSTUDIO_INVOKED
#include "grepWin.rc2"
#endif
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS

/////////////////////////////////////////////////////////////////////////////
// Neutral resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_NEU)
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL

/////////////////////////////////////////////////////////////////////////////
//
// Icon
//

// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_GREPWIN             ICON                    "grepWin.ico"

#endif    // Neutral resources
/////////////////////////////////////////////////////////////////////////////


/////////////////////////////////////////////////////////////////////////////
// English (United States) resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US

/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//

IDD_SEARCHDLG DIALOGEX 0, 0, 451, 279
STYLE DS_SETFONT | DS_FIXEDSYS | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
CAPTION "grepWin"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
    PUSHBUTTON      "/",IDC_PATHMRU,14,20,14,14
    LTEXT           "Search &in",IDC_STATIC,27,16,30,8,NOT WS_VISIBLE
    EDITTEXT        IDC_SEARCHPATH,30,20,389,14,ES_AUTOHSCROLL,WS_EX_ACCEPTFILES
    PUSHBUTTON      "...",IDC_SEARCHPATHBROWSE,421,20,15,14
    GROUPBOX        "Search in",IDC_GROUPSEARCHIN,7,10,437,29
    CONTROL         "Regex search",IDC_REGEXRADIO,"Button",BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP,14,52,86,10
    CONTROL         "Text search",IDC_TEXTRADIO,"Button",BS_AUTORADIOBUTTON | WS_TABSTOP,108,52,86,10
    CONTROL         "Word match",IDC_WORDMATCH,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,202,52,86,10	//+[JOJO]
    RTEXT           "",IDC_REGEXOKLABEL,324,52,112,8
    LTEXT           "Search &for:",IDC_SEARCHFORLABEL,14,65,70,8
    EDITTEXT        IDC_SEARCHTEXT,83,64,336,14,ES_AUTOHSCROLL
    PUSHBUTTON      "/",IDC_EDITMULTILINE1,421,64,15,14
    LTEXT           "Replace with:",IDC_REPLACEWITHLABEL,14,83,64,8
    EDITTEXT        IDC_REPLACETEXT,83,81,336,14,ES_AUTOHSCROLL
    PUSHBUTTON      "/",IDC_EDITMULTILINE2,421,81,15,14
    CONTROL         "Search case-sensitive",IDC_CASE_SENSITIVE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,98,89,10
    CONTROL         "Dot matches newline",IDC_DOTMATCHNEWLINE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,108,98,131,10
    CONTROL         "Create backup files",IDC_CREATEBACKUP,"Button",BS_AUTOCHECKBOX | WS_DISABLED | WS_TABSTOP,247,98,92,10
    CONTROL         "Treat files as UTF8",IDC_UTF8,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,346,98,90,10
    PUSHBUTTON      "Test regex",IDC_TESTREGEX,14,109,69,14
    PUSHBUTTON      "Add to Presets",IDC_ADDTOBOOKMARKS,108,109,76,14
    PUSHBUTTON      "Presets",IDC_BOOKMARKS,189,109,50,14
    GROUPBOX        "Search",IDC_GROUPSEARCHFOR,7,41,437,86
    CONTROL         "All sizes",IDC_ALLSIZERADIO,"Button",BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP,14,139,94,10
    CONTROL         "Size is",IDC_SIZERADIO,"Button",BS_AUTORADIOBUTTON | WS_TABSTOP,14,152,42,10
    COMBOBOX        IDC_SIZECOMBO,61,150,73,41,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
    EDITTEXT        IDC_SIZEEDIT,139,149,40,14,ES_AUTOHSCROLL,WS_EX_RIGHT
    LTEXT           "KB",IDC_KBTEXT,183,152,9,8
    LTEXT           "Exclude dirs (Regex):",IDC_EXCLUDE_DIRS_PATTERNLABEL,198,138,95,8
    EDITTEXT        IDC_EXCLUDEDIRSPATTERN,297,136,122,14,ES_AUTOHSCROLL
    PUSHBUTTON      "/",IDC_EXCLUDEDIRMRU,422,136,14,14
    CONTROL         "Include system items",IDC_INCLUDESYSTEM,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,166,90,10
    CONTROL         "Include hidden items",IDC_INCLUDEHIDDEN,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,108,166,85,10
    CONTROL         "Include subfolders",IDC_INCLUDESUBFOLDERS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,178,89,10
    CONTROL         "Include binary files",IDC_INCLUDEBINARY,"Button",BS_AUTOCHECKBOX | WS_DISABLED | WS_TABSTOP,108,178,86,10
    LTEXT           "File Names match:\nuse '|' to separate multiple text match patterns, prepen&d '-' to exclude",IDC_PATTERNLABEL,198,153,91,36
    EDITTEXT        IDC_PATTERN,297,155,122,14,ES_AUTOHSCROLL
    PUSHBUTTON      "/",IDC_PATTERNMRU,422,155,14,14
    CONTROL         "Regex match",IDC_FILEPATTERNREGEX,"Button",BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP,297,172,66,10
    CONTROL         "Text match",IDC_FILEPATTERNTEXT,"Button",BS_AUTORADIOBUTTON | WS_TABSTOP,367,172,69,10
    CONTROL         "Only one instance",IDC_ONLYONE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,196,91,10
    PUSHBUTTON      "Settings",IDC_SETTINGSBUTTON,108,196,63,14
    PUSHBUTTON      "&Replace",IDC_REPLACE,307,196,62,14
    DEFPUSHBUTTON   "Search",IDOK,374,196,62,14
    GROUPBOX        "Limit search",IDC_GROUPLIMITSEARCH,7,128,437,65
    CONTROL         "",IDC_RESULTLIST,"SysListView32",LVS_REPORT | LVS_ALIGNLEFT | WS_BORDER | WS_TABSTOP,14,221,422,36
    LTEXT           "",IDC_SEARCHINFOLABEL,13,261,305,8
    GROUPBOX        "Search results",IDC_GROUPSEARCHRESULTS,7,210,437,62
    RTEXT           "About grepWin",IDC_ABOUTLINK,311,2,133,8
    CONTROL         "Files",IDC_RESULTFILES,"Button",BS_AUTORADIOBUTTON | WS_GROUP,327,259,62,10
    CONTROL         "Content",IDC_RESULTCONTENT,"Button",BS_AUTORADIOBUTTON,393,259,43,10
    LTEXT           "Press F1 for help",IDC_HELPLABEL,0,2,198,8
    CONTROL         "",IDC_PROGRESS,"msctls_progress32",PBS_MARQUEE | NOT WS_VISIBLE,174,196,129,14
END

IDD_REGEXTEST DIALOGEX 0, 0, 401, 316
STYLE DS_SETFONT | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
CAPTION "Regex Test"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
    LTEXT           "Paste text to test the regex with:",IDC_INFOLABEL,7,7,387,8
    CONTROL         "",IDC_TEXTCONTENT,"RichEdit20W",WS_BORDER | WS_VSCROLL | WS_TABSTOP | 0x1084,7,17,387,89
    LTEXT           "Regex search string:",IDC_STATIC,7,111,387,8
    EDITTEXT        IDC_SEARCHTEXT,7,121,387,14,ES_AUTOHSCROLL
    LTEXT           "Regex replace string:",IDC_STATIC,7,137,387,8
    EDITTEXT        IDC_REPLACETEXT,7,148,387,14,ES_AUTOHSCROLL
    LTEXT           "The regex search string matches:",IDC_STATIC,7,172,387,8
    EDITTEXT        IDC_REGEXMATCH,7,185,387,50,ES_MULTILINE | ES_AUTOVSCROLL | ES_AUTOHSCROLL | ES_READONLY | WS_VSCROLL
    LTEXT           "The resulting text after replacing:",IDC_STATIC,7,236,387,8
    CONTROL         "",IDC_REGEXREPLACED,"RichEdit20W",WS_BORDER | WS_VSCROLL | WS_TABSTOP | 0x884,7,246,387,45
    PUSHBUTTON      "OK",IDOK,233,295,77,14
    PUSHBUTTON      "Cancel",IDCANCEL,317,295,77,14
END

IDD_NAME DIALOGEX 0, 0, 186, 65
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Preset name"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
    LTEXT           "Enter a name for the regex:",IDC_INFOLABEL,7,7,172,8
    EDITTEXT        IDC_NAME,7,20,172,14,ES_AUTOHSCROLL
    DEFPUSHBUTTON   "OK",IDOK,37,44,68,14
    PUSHBUTTON      "Cancel",IDCANCEL,111,44,68,14
END

IDD_BOOKMARKS DIALOGEX 0, 0, 240, 129
STYLE DS_SETFONT | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
CAPTION "Presets"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
    CONTROL         "",IDC_BOOKMARKS,"SysListView32",LVS_REPORT | LVS_ALIGNLEFT | WS_BORDER | WS_TABSTOP,7,16,226,85
    DEFPUSHBUTTON   "OK",IDOK,70,108,78,14
    PUSHBUTTON      "Cancel",IDCANCEL,155,108,78,14
    LTEXT           "Double-Click to select a preset",IDC_INFOLABEL,7,7,226,8
END

IDD_ABOUT DIALOGEX 0, 0, 263, 67
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "About grepWin"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
    DEFPUSHBUTTON   "OK",IDOK,206,46,50,14
    ICON            IDI_GREPWIN,IDC_STATIC,17,14,20,20,SS_CENTERIMAGE
    LTEXT           "",IDC_VERSIONINFO,50,18,206,8
    LTEXT           "",IDC_DATE,50,30,206,8
    LTEXT           "Visit our website",IDC_WEBLINK,50,48,150,8
END

IDD_MULTILINEEDIT DIALOGEX 0, 0, 317, 135
STYLE DS_SETFONT | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
CAPTION "Dialog"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
    DEFPUSHBUTTON   "OK",IDOK,157,114,73,14
    PUSHBUTTON      "Cancel",IDCANCEL,237,114,73,14
    CONTROL         "",IDC_TEXTCONTENT,"RichEdit20W",WS_VSCROLL | WS_TABSTOP | 0x1084,7,7,303,96
END

IDD_SETTINGS DIALOGEX 0, 0, 317, 146
STYLE DS_SETFONT | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
CAPTION "grepWin Settings"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
    GROUPBOX        "Editor",IDC_EDITORGROUP,7,7,303,78
    LTEXT           "Command line to start an editor at a specific line:",IDC_STATIC1,13,19,288,8
    EDITTEXT        IDC_EDITORCMD,13,31,269,14,ES_AUTOHSCROLL
    PUSHBUTTON      "...",IDC_SEARCHPATHBROWSE,286,31,15,14
    LTEXT           "%path% is replaced with the path of the file, %line% with the line to jump to",IDC_STATIC2,13,47,288,17
    LTEXT           "This adds a new entry to the context menu named ""Open with Editor""",IDC_STATIC3,13,65,288,16
    LTEXT           "Language:",IDC_STATIC4,7,90,135,8
    COMBOBOX        IDC_LANGUAGE,170,89,140,30,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
    CONTROL         "Escape key closes grepWin",IDC_ESCKEY,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,106,294,10
    CONTROL         "Enable the Replace",IDC_ENABLE_REPLACE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,122,190,10	//+[JOJO] 58D8CCFF
    LTEXT           "",IDC_DWM,7,133,1,1
    DEFPUSHBUTTON   "OK",IDOK,205,125,50,14
    PUSHBUTTON      "Cancel",IDCANCEL,260,125,50,14
END


/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//

#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO
BEGIN
    IDD_SEARCHDLG, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 444
        VERTGUIDE, 14
        VERTGUIDE, 83
        VERTGUIDE, 108
        VERTGUIDE, 198
        VERTGUIDE, 247
        VERTGUIDE, 346
        VERTGUIDE, 419
        VERTGUIDE, 436
        TOPMARGIN, 7
        BOTTOMMARGIN, 272
    END

    IDD_REGEXTEST, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 394
        TOPMARGIN, 7
        BOTTOMMARGIN, 309
    END

    IDD_NAME, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 179
        TOPMARGIN, 7
        BOTTOMMARGIN, 58
    END

    IDD_BOOKMARKS, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 233
        TOPMARGIN, 7
        BOTTOMMARGIN, 122
    END

    IDD_ABOUT, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 256
        VERTGUIDE, 50
        TOPMARGIN, 7
        BOTTOMMARGIN, 60
    END

    IDD_MULTILINEEDIT, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 310
        TOPMARGIN, 7
        BOTTOMMARGIN, 128
    END

    IDD_SETTINGS, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 310
        VERTGUIDE, 13
        VERTGUIDE, 301
        TOPMARGIN, 7
        BOTTOMMARGIN, 139
    END
END
#endif    // APSTUDIO_INVOKED


/////////////////////////////////////////////////////////////////////////////
//
// Menu
//

IDC_BKPOPUP MENU
BEGIN
    POPUP "Dummy"
    BEGIN
        MENUITEM "Remo&ve Preset",              ID_REMOVEBOOKMARK
        MENUITEM "Re&name Preset",              ID_RENAMEBOOKMARK
    END
END


/////////////////////////////////////////////////////////////////////////////
//
// Accelerator
//

IDC_GREPWIN ACCELERATORS
BEGIN
    VK_DELETE,      ID_REMOVEBOOKMARK,      VIRTKEY, NOINVERT
END


/////////////////////////////////////////////////////////////////////////////
//
// HTML
//

IDR_INFODLG             HTML                    "infodlg.htm"


/////////////////////////////////////////////////////////////////////////////
//
// String Table
//

STRINGTABLE
BEGIN
    IDS_APP_TITLE           "grepWin"
    IDS_NAME                "Name"
    IDS_SEARCHSTRING        "Search string"
    IDS_REPLACESTRING       "Replace string"
    IDS_NOTESTTEXTAVAILABLE "no text to test with available"
    IDS_SEARCHSTRINGEMPTY   "search string is empty"
    IDC_GREPWIN             "GREPWIN"
    IDS_NOREPLACETEXT       "no text to replace with"
    IDS_NOMATCH             "no match"
END

STRINGTABLE
BEGIN
    IDS_PATTERN_TT          "only files that match this pattern are searched.\r\nUse ""|"" as the delimiter.\r\nExample: *.cpp|*.h"
    IDS_EXCLUDEDIR_TT       "you can exclude directories, e.g. CVS and images.\r\nExample: ^(CVS|images)$\r\nNote, '.svn' folders are 'hidden' on Windows, so they usually are not scanned."
    IDS_SEARCHPATH_TT       "the path(s) which is searched recursively.\r\nSeparate paths with the | symbol.\r\nExample: c:\\temp|d:\\logs"
    IDS_DOTMATCHNEWLINE_TT  "Newline is matched by '.'"
    IDS_SEARCHTEXT_TT       "a regular expression used for searching. Press F1 for more info."
    IDS_ONLYONE_TT          "reuse grepWin instances."
    IDS_EDITMULTILINE_TT    "click to edit the text as a multiline text"
    IDS_ABOUT               "&About grepWin..."
    IDS_LESSTHAN            "less than"
    IDS_EQUALTO             "equal to"
    IDS_GREATERTHAN         "greater than"
    IDS_SEARCH              "&Search"
    IDS_REPLACECONFIRM      "Are you sure you want to replace\n%s\nwith\n%s\nwithout creating backups?"
    IDS_ANEMPTYSTRING       "an empty string"
    IDS_STOP                "S&top"
    IDS_SELECTPATHTOSEARCH  "Select path to search"
END

STRINGTABLE
BEGIN
    IDS_INFOLABEL           "Searched %ld files, skipped %ld files. Found %ld matches in %ld files."
    IDS_READERROR           "read error"
    IDS_BINARY              "binary"
    IDS_REGEXOK             "regex ok"
    IDS_REGEXINVALID        "invalid regex!"
    IDS_SIZE                "Size"
    IDS_LINE                "Line"
    IDS_MATCHES             "Matches"
    IDS_TEXT                "Text"
    IDS_PATH                "Path"
    IDS_ENCODING            "Encoding"
    IDS_DATEMODIFIED        "Date modified"
    IDS_SELECTEDITOR        "Select Editor Application..."
    IDS_OPENWITHEDITOR      "Open with Editor"
    IDS_OPENCONTAININGFOLDER "Open containing folder"
    IDS_COPYPATH            "Copy path to clipboard"
END

STRINGTABLE
BEGIN
    IDS_COPYPATHS           "Copy paths to clipboard"
    IDS_COPYFILENAME        "Copy filename to clipboard"
    IDS_COPYFILENAMES       "Copy filenames to clipboard"
    IDS_COPYRESULT          "Copy text result to clipboard"
    IDS_COPYRESULTS         "Copy text results to clipboard"
    IDS_XMOREMATCHES        "%ld more matches"
    IDS_CONTEXTLINE         "Line %5ld : %30s\n"
    IDS_INFOLABELFILE       "scanning file '%s'"
    IDS_ERR_RELATIVEPATH    "Relative paths are not allowed. Please enter an absolute path!"
    IDS_ERR_INVALID_PATH    "Invalid path!"
    IDS_PROGRAMS            "Programs"
    IDS_ALLFILES            "All Files"
END

#endif    // English (United States) resources
/////////////////////////////////////////////////////////////////////////////


/////////////////////////////////////////////////////////////////////////////
// German (Switzerland) resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_DES)
LANGUAGE LANG_GERMAN, SUBLANG_GERMAN_SWISS

#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//

1 TEXTINCLUDE 
BEGIN
    "..\\resource.h\0"
END

2 TEXTINCLUDE 
BEGIN
    "#define APSTUDIO_HIDDEN_SYMBOLS\r\n"
    "#include ""windows.h""\r\n"
    "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n"
    "#ifndef APSTUDIO_INVOKED\r\n"
    "#include ""grepWin.rc2""\r\n"
    "#endif\0"
END

3 TEXTINCLUDE 
BEGIN
    "\r\n"
    "\0"
END

#endif    // APSTUDIO_INVOKED

#endif    // German (Switzerland) resources
/////////////////////////////////////////////////////////////////////////////



#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//


/////////////////////////////////////////////////////////////////////////////
#endif    // not APSTUDIO_INVOKED

