From ff5a4aad3c9c4f71981ec73fec3abb28ec08decb Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Fri, 4 Jul 2014 22:15:58 +0000 Subject: DBEditor: -resource cosmetics git-svn-id: http://svn.miranda-ng.org/main/trunk@9683 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/DbEditorPP/res/resource.rc | 55 +++++++++++++++++++------------------- 1 file changed, 28 insertions(+), 27 deletions(-) diff --git a/plugins/DbEditorPP/res/resource.rc b/plugins/DbEditorPP/res/resource.rc index c0e094afbb..292794fb60 100644 --- a/plugins/DbEditorPP/res/resource.rc +++ b/plugins/DbEditorPP/res/resource.rc @@ -29,29 +29,29 @@ STYLE DS_SETFONT | DS_SETFOREGROUND | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_VI CAPTION "Database Editor++ search and replace" FONT 8, "MS Shell Dlg", 0, 0, 0x0 BEGIN + GROUPBOX "Search for",IDC_STATIC,3,1,268,58 + LTEXT "Text:",IDC_STATIC,10,74,26,8 EDITTEXT IDC_TEXT,40,13,216,12,ES_AUTOHSCROLL + LTEXT "In:",IDC_STATIC,10,30,23,8 + LTEXT "In:",IDC_STATIC,10,90,23,8,NOT WS_VISIBLE CONTROL "Case sensitive",IDC_CASESENSITIVE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,40,30,72,10 CONTROL "Module name",IDC_MODNAME,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,40,44,73,10 + CONTROL "Module name",IDC_MODNAME2,"Button",BS_AUTORADIOBUTTON | NOT WS_VISIBLE | WS_DISABLED | WS_GROUP | WS_TABSTOP,40,90,73,10 CONTROL "Exact match",IDC_EXACT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,115,30,64,10 CONTROL "Setting name",IDC_SETTINGNAME,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,115,44,72,10 + CONTROL "Setting name",IDC_SETTINGNAME2,"Button",BS_AUTORADIOBUTTON | NOT WS_VISIBLE | WS_DISABLED | WS_TABSTOP,115,90,72,10 CONTROL "Setting value",IDC_SETTINGVALUE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,194,44,69,10 + CONTROL "Setting value",IDC_SETTINGVALUE2,"Button",BS_AUTORADIOBUTTON | NOT WS_VISIBLE | WS_DISABLED | WS_TABSTOP,194,90,67,10 DEFPUSHBUTTON "&Search",IDC_SEARCH,277,5,60,14 + GROUPBOX "Replace with",IDC_STATIC,3,60,334,30 + LTEXT "Text:",IDC_STATIC,10,15,26,8 EDITTEXT IDC_REPLACE,40,72,216,12,ES_AUTOHSCROLL - CONTROL "Module name",IDC_MODNAME2,"Button",BS_AUTORADIOBUTTON | NOT WS_VISIBLE | WS_DISABLED | WS_GROUP | WS_TABSTOP,40,90,73,10 - CONTROL "Setting name",IDC_SETTINGNAME2,"Button",BS_AUTORADIOBUTTON | NOT WS_VISIBLE | WS_DISABLED | WS_TABSTOP,115,90,72,10 - CONTROL "Setting value",IDC_SETTINGVALUE2,"Button",BS_AUTORADIOBUTTON | NOT WS_VISIBLE | WS_DISABLED | WS_TABSTOP,194,90,67,10 + CONTROL "Entirely",IDC_ENTIRELY,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,262,74,67,10 CONTROL "Found field",IDC_FOUND,"Button",BS_AUTORADIOBUTTON | NOT WS_VISIBLE | WS_TABSTOP,267,90,65,10 PUSHBUTTON "&Replace",IDOK,277,25,60,14 PUSHBUTTON "&Cancel",IDCANCEL,277,45,60,14 LISTBOX IDC_LIST,3,95,334,136,LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_HSCROLL | WS_TABSTOP - GROUPBOX "Search for",IDC_STATIC,3,1,268,58 - LTEXT "Text:",IDC_STATIC,10,15,26,8 - LTEXT "In:",IDC_STATIC,10,30,23,8 - GROUPBOX "Replace with",IDC_STATIC,3,60,334,30 - LTEXT "Text:",IDC_STATIC,10,74,26,8 - LTEXT "In:",IDC_STATIC,10,90,23,8,NOT WS_VISIBLE CONTROL "",IDC_SBAR,"msctls_statusbar32",WS_TABSTOP | 0x100,3,237,334,12 - CONTROL "Entirely",IDC_ENTIRELY,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,262,74,67,10 END IDD_OPTIONS DIALOGEX 0, 0, 314, 92 @@ -77,35 +77,35 @@ STYLE DS_SETFONT | DS_MODALFRAME | DS_SETFOREGROUND | DS_FIXEDSYS | DS_CENTER | CAPTION "Add a module to contact" FONT 8, "MS Shell Dlg", 0, 0, 0x0 BEGIN + LTEXT "Add a module named",IDC_ADDMODNAMESTATIC,7,6,172,8 EDITTEXT IDC_MODNAME,7,17,172,12,ES_AUTOHSCROLL - LTEXT "Add a module named",IDC_ADDMODNAMESTATIC,7,6,124,8 CONTROL "Add to all contacts (including Settings)",CHK_COPY2ALL, "Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,35,172,10 DEFPUSHBUTTON "OK",IDOK,29,49,50,14 PUSHBUTTON "Cancel",IDCANCEL,107,49,50,14 END -IDD_EDIT_SETTING DIALOGEX 0, 0, 252, 121 +IDD_EDIT_SETTING DIALOGEX 0, 0, 252, 133 STYLE DS_SETFONT | DS_MODALFRAME | DS_SETFOREGROUND | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION CAPTION "Edit setting" FONT 8, "MS Shell Dlg", 0, 0, 0x0 BEGIN + LTEXT "Value name:",IDC_STATIC,7,7,238,8 EDITTEXT IDC_SETTINGNAME,7,18,238,14,ES_AUTOHSCROLL + LTEXT "Value data:",IDC_STATIC,7,37,159,8 EDITTEXT IDC_SETTINGVALUE,7,49,159,14,ES_AUTOHSCROLL - EDITTEXT IDC_STRING,49,37,196,61,ES_MULTILINE | ES_WANTRETURN | NOT WS_VISIBLE | WS_VSCROLL | WS_HSCROLL - EDITTEXT IDC_BLOB,49,37,196,61,ES_MULTILINE | NOT WS_VISIBLE | WS_VSCROLL - RADIOBUTTON "Byte",CHK_BYTE,13,81,30,10 - RADIOBUTTON "Word",CHK_WORD,50,81,33,10 - RADIOBUTTON "Dword",CHK_DWORD,90,81,37,10 - RADIOBUTTON "String",CHK_STRING,132,81,34,10 - DEFPUSHBUTTON "OK",IDOK,70,102,50,14 - PUSHBUTTON "Cancel",IDCANCEL,132,102,50,14 + EDITTEXT IDC_STRING,7,49,238,54,ES_MULTILINE | ES_WANTRETURN | NOT WS_VISIBLE | WS_VSCROLL | WS_HSCROLL + EDITTEXT IDC_BLOB,7,49,238,54,ES_MULTILINE | NOT WS_VISIBLE | WS_VSCROLL + GROUPBOX "Base",GRP_BASE,174,37,71,38 RADIOBUTTON "Hexadecimal",CHK_HEX,182,49,59,10 RADIOBUTTON "Decimal",CHK_DECIMAL,182,62,59,10 - LTEXT "Value name:",IDC_STATIC,7,7,42,8 - LTEXT "Value data:",IDC_STATIC,7,37,38,8 - GROUPBOX "Base",GRP_BASE,174,37,71,38 - GROUPBOX "Save value as:",GRP_TYPE,7,67,160,29 + GROUPBOX "Save value as:",GRP_TYPE,7,75,238,29 + RADIOBUTTON "Byte",CHK_BYTE,14,89,50,10 + RADIOBUTTON "Word",CHK_WORD,68,89,50,10 + RADIOBUTTON "Dword",CHK_DWORD,124,89,50,10 + RADIOBUTTON "String",CHK_STRING,182,89,50,10 + DEFPUSHBUTTON "OK",IDOK,70,114,50,14 + PUSHBUTTON "Cancel",IDCANCEL,132,114,50,14 END IDD_WATCH_DIAG DIALOGEX 0, 0, 414, 190 @@ -122,12 +122,12 @@ STYLE DS_SETFONT | DS_MODALFRAME | DS_SETFOREGROUND | DS_FIXEDSYS | DS_CENTER | CAPTION "Copy module to contact" FONT 8, "MS Shell Dlg", 0, 0, 0x0 BEGIN + LTEXT "Contact to copy module and settings to",IDC_INFOTEXT,7,6,172,8 COMBOBOX IDC_CONTACTS,7,17,172,99,CBS_DROPDOWNLIST | CBS_AUTOHSCROLL | CBS_SORT | WS_VSCROLL | WS_TABSTOP CONTROL "Copy to all contacts (including Settings)",CHK_COPY2ALL, "Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,35,172,10 DEFPUSHBUTTON "OK",IDOK,29,49,50,14 PUSHBUTTON "Cancel",IDCANCEL,107,49,50,14 - LTEXT "Contact to copy module and settings to",IDC_INFOTEXT,7,6,124,8 END IDD_IMPORT DIALOGEX 0, 0, 268, 170 @@ -135,11 +135,11 @@ STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPT CAPTION "Import module/settings" FONT 8, "MS Shell Dlg", 0, 0, 0x0 BEGIN + LTEXT "Paste the settings to import here.",IDC_STATIC,7,7,105,8 EDITTEXT IDC_TEXT,7,18,254,124,ES_MULTILINE | ES_WANTRETURN | WS_VSCROLL | WS_HSCROLL DEFPUSHBUTTON "Import",IDOK,153,149,50,14 PUSHBUTTON "Cancel",IDCANCEL,211,149,50,14 PUSHBUTTON "Insert &CR/LF",IDC_CRLF,20,149,58,14 - LTEXT "Paste the settings to import here.",IDC_STATIC,7,7,105,8 END IDD_MAIN DIALOGEX 0, 0, 408, 225 @@ -192,6 +192,7 @@ BEGIN IDD_ADD_MODULE, DIALOG BEGIN LEFTMARGIN, 7 + VERTGUIDE, 179 TOPMARGIN, 7 BOTTOMMARGIN, 63 END @@ -204,7 +205,7 @@ BEGIN VERTGUIDE, 174 VERTGUIDE, 182 TOPMARGIN, 7 - BOTTOMMARGIN, 116 + BOTTOMMARGIN, 128 HORZGUIDE, 37 HORZGUIDE, 49 HORZGUIDE, 67 -- cgit v1.2.3