/*
this file is part of notepad++
Copyright (C)2003 Don HO ( donho@altern.org )

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/

#ifndef FIND_REPLACE_DLG_RC
#define FIND_REPLACE_DLG_RC
#include <windows.h>
#include "FindReplaceDlg_rc.h"

IDD_FIND_REPLACE_DLG DIALOGEX 36, 44, 321, 179
// IDD_FIND_REPLACE_DLG DIALOGEX 36, 44, 321, 210
// STYLE DS_SETFONT | DS_3DLOOK | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU| WS_THICKFRAME
STYLE DS_3DLOOK | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
//STYLE WS_POPUP|WS_CLIPSIBLINGS|WS_CAPTION|WS_SYSMENU|WS_THICKFRAME|WS_MAXIMIZEBOX | WS_DLGFRAME
EXSTYLE WS_EX_TOOLWINDOW
//EXSTYLE WS_EX_CONTROLPARENT|WS_EX_WINDOWEDGE|WS_EX_TOOLWINDOW
CAPTION "Replace"
FONT 8, "MS Shell Dlg", 0, 0, 0x0
BEGIN
    RTEXT           "Find what :",IDFINDWHAT_STATIC,6,7,75,8
    COMBOBOX        IDFINDWHAT,83,5,125,150,CBS_DROPDOWN | CBS_AUTOHSCROLL | WS_TABSTOP
    RTEXT           "Re&place with :",ID_STATICTEXT_REPLACE,6,25,75,8
    COMBOBOX        IDREPLACEWITH,83,24,125,50,CBS_DROPDOWN | CBS_AUTOHSCROLL | WS_TABSTOP
    CONTROL         "Match &whole word only",IDWHOLEWORD,"Button", BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,6,73,110,15
    CONTROL         "Match &case",IDMATCHCASE,"Button",BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,6,88,110,12
    CONTROL         "Regular &expression",IDREGEXP,"Button",BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,6,101,110,12
    CONTROL         "Wrap aroun&d",IDWRAP,"Button",BS_AUTOCHECKBOX | BS_MULTILINE | WS_GROUP | WS_TABSTOP,6,114,102,16
    GROUPBOX        "Direction",IDC_DIR_STATIC,150,71,60,34,WS_GROUP
    CONTROL         "&Up",IDDIRECTIONUP,"Button",BS_AUTORADIOBUTTON | WS_GROUP,155,79,45,12
    CONTROL         "&Down",IDDIRECTIONDOWN,"Button",BS_AUTORADIOBUTTON,155,91,45,12
    DEFPUSHBUTTON   "Find Next",IDOK,217,5,90,14,WS_GROUP
    PUSHBUTTON      "&Replace",IDREPLACE,217,23,90,14
    PUSHBUTTON      "Replace &All",IDREPLACEALL,217,41,90,14
	PUSHBUTTON      "Switch dialog",IDSWITCH,217,84,90,14
    PUSHBUTTON      "Close",IDCANCEL,217,102,90,14
    PUSHBUTTON      "Count",IDCCOUNTALL,217,23,90,14
    PUSHBUTTON      "Find All",IDCMARKALL,131,25,75,14
    CONTROL         "Mark Line",IDC_MARKLINE_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,23,88,25
    CONTROL         "Style found token",IDC_STYLEFOUND_CHECK,"Button", BS_AUTOCHECKBOX | BS_MULTILINE | WS_TABSTOP,13,35,100,15
    GROUPBOX        "",IDC_FINDALL_STATIC,7,16,204,69
    CONTROL         "Purge for each search",IDC_PURGE_CHECK,"Button", BS_AUTOCHECKBOX | BS_MULTILINE | WS_TABSTOP,13,49,99,16
    CONTROL         "",IDC_PERCENTAGE_SLIDER,"msctls_trackbar32",TBS_BOTH | TBS_NOTICKS | NOT WS_VISIBLE | WS_TABSTOP,257,150,53,25
    CONTROL         "Transparency",IDC_TRANSPARENT_CHECK,"Button", BS_AUTOCHECKBOX | NOT WS_VISIBLE | WS_TABSTOP,258,138,55,25
    GROUPBOX        "Display Position",IDC_DISPLAYPOS_STATIC,150,110,60,63
    CONTROL         "Top",IDC_DISPLAYPOS_TOP,"Button",BS_AUTORADIOBUTTON,156,122,28,25
    CONTROL         "Middle",IDC_DISPLAYPOS_MIDDLE,"Button",BS_AUTORADIOBUTTON,156,134,36,25
    CONTROL         "Bottom",IDC_DISPLAYPOS_BOTTOM,"Button",BS_AUTORADIOBUTTON,156,146,39,25
    PUSHBUTTON      "Replace all in all opened documents",IDC_REPLACE_OPENEDFILES,217,59,90,21,BS_MULTILINE
    PUSHBUTTON      "Find all in all opened documents",IDC_FINDALL_OPENEDFILES,217,41,90,21,BS_MULTILINE
    CONTROL         "In selection",IDC_IN_SELECTION_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,146,44,59,25
    GROUPBOX        "",IDC_REPLACEINSELECTION,141,35,170,38
    PUSHBUTTON      "Clear",IDC_CLEAR_ALL,156,56,50,26
    PUSHBUTTON      "Find in files",IDC_FINDINFILES,217,66,90,14
	
    RTEXT           "Filters :", IDD_FINDINFILES_FILTERS_STATIC,6,25,75,8
	COMBOBOX        IDD_FINDINFILES_FILTERS_COMBO,83,24,125,80, CBS_DROPDOWN | CBS_AUTOHSCROLL | WS_TABSTOP
    RTEXT           "Directory :",IDD_FINDINFILES_DIR_STATIC,7,43,40,8
    COMBOBOX        IDD_FINDINFILES_DIR_COMBO,49,42,141,80, CBS_DROPDOWN | CBS_AUTOHSCROLL | WS_TABSTOP
    PUSHBUTTON      "...",IDD_FINDINFILES_BROWSE_BUTTON,193,41,16,14
    PUSHBUTTON	   "Find them all",IDD_FINDINFILES_FIND_BUTTON,217,5,90,14,WS_GROUP
    PUSHBUTTON      "Find dialog",IDD_FINDINFILES_GOBACK_BUTTON,217,23,90,14
    CONTROL         "In all sub-folders",IDD_FINDINFILES_RECURSIVE_CHECK,"Button", BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,49,55,110,15
END

IDD_FINDINFILES_DLG DIALOGEX 36, 44, 264, 78
STYLE DS_SETFONT | DS_3DLOOK | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_TOOLWINDOW
CAPTION "Find in files"
FONT 8, "MS Shell Dlg", 0, 0, 0x0
BEGIN
    COMBOBOX        IDD_FINDINFILES_FILTERS_COMBO,50,9,187,65, CBS_DROPDOWN | CBS_AUTOHSCROLL | WS_TABSTOP
    COMBOBOX        IDD_FINDINFILES_DIR_COMBO,49,33,187,65, CBS_DROPDOWN | CBS_AUTOHSCROLL | WS_TABSTOP
    LTEXT           "Filters :", -1,7,12,39,8
    LTEXT           "Directory :",-1,7,34,40,8
    PUSHBUTTON      "...",IDD_FINDINFILES_BROWSE_BUTTON,242,32,16,14
    DEFPUSHBUTTON   "OK",IDOK,66,56,50,14
    PUSHBUTTON      "Cancel",IDCANCEL,133,56,50,14
END

IDD_INCREMENT_FIND DIALOGEX 0, 0, 330, 14
STYLE DS_SYSMODAL | DS_MODALFRAME | DS_CONTROL | DS_3DLOOK | DS_FIXEDSYS | WS_POPUP
FONT 8, "MS Shell Dlg"
BEGIN
	DEFPUSHBUTTON   "X",IDCANCEL,2,1,12,12
	LTEXT           "Find :",IDC_INCSTATIC,20,2,40,8
	EDITTEXT        IDC_INCFINDTEXT,45,1,175,12,ES_AUTOHSCROLL | ES_WANTRETURN | NOT WS_BORDER,WS_EX_STATICEDGE
	DEFPUSHBUTTON   "<",IDC_INCFINDPREVOK,223,0,16,14
	DEFPUSHBUTTON   ">",IDC_INCFINDNXTOK,243,0,16,14
	CONTROL         "Match case", IDC_INCFINDMATCHCASE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,270,2,60,12
END

IDD_FINDRESULT DIALOGEX 26, 41, 223, 67
STYLE DS_SETFONT | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_TOOLWINDOW | WS_EX_WINDOWEDGE
CAPTION "Find result"
FONT 8, "MS Shell Dlg", 0, 0, 0x0
BEGIN
DEFPUSHBUTTON   ">",IDC_INCFINDNXTOK,243,0,16,14, NOT WS_VISIBLE
END

#endif //FIND_REPLACE_DLG_RC
