From 289f73c0c5d58c083c02c7c5b12427ebb8147625 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 10 May 2019 19:45:22 +0300 Subject: Import: first version of pattern batch import that works --- plugins/Import/res/resource.rc | 33 ++++++++++++--------------------- 1 file changed, 12 insertions(+), 21 deletions(-) (limited to 'plugins/Import/res') diff --git a/plugins/Import/res/resource.rc b/plugins/Import/res/resource.rc index ec28912e3c..844cd11fd7 100644 --- a/plugins/Import/res/resource.rc +++ b/plugins/Import/res/resource.rc @@ -24,14 +24,6 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL // Dialog // -IDD_IMPORTTYPE DIALOGEX 0, 0, 220, 114 -STYLE DS_SETFONT | DS_3DLOOK | DS_FIXEDSYS | DS_CONTROL | WS_CHILD -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - LTEXT "Choose how you would like to import:",IDC_STATIC,5,16,210,8 - CONTROL "From a Miranda NG database.",IDC_MIRANDA,"Button",BS_AUTORADIOBUTTON,11,31,204,10 -END - IDD_WIZARDINTRO DIALOGEX 0, 0, 220, 114 STYLE DS_SETFONT | DS_3DLOOK | DS_FIXEDSYS | DS_CONTROL | WS_CHILD FONT 8, "MS Shell Dlg", 0, 0, 0x1 @@ -58,11 +50,13 @@ IDD_MIRANDADB DIALOGEX 0, 0, 220, 114 STYLE DS_SETFONT | DS_3DLOOK | DS_FIXEDSYS | DS_CONTROL | WS_CHILD FONT 8, "MS Shell Dlg", 0, 0, 0x1 BEGIN - LTEXT "Miranda has found Miranda profiles with the following names. Please select the one you wish to import, or click ""Other Profile"" if your profile is not listed, or if the list is empty.",IDC_STATICTEXT1,5,10,210,24 - LISTBOX IDC_LIST,5,36,210,36,LBS_SORT | LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP - PUSHBUTTON "&Other Profile...",IDC_OTHER,145,74,70,14 - RTEXT "&Filename:",IDC_STATICTEXT2,5,93,34,8 - EDITTEXT IDC_FILENAME,41,91,174,12,ES_AUTOHSCROLL + LTEXT "Choose import type:", IDC_STATICTEXT3,3,1,213,8 + COMBOBOX IDC_FILETYPE,5,11,210,12,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP + LISTBOX IDC_LIST,5,27,210,52,LBS_SORT | LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP + PUSHBUTTON "Choose directory",IDC_DIRECTORY,72,81,70,14 + PUSHBUTTON "Choose file",IDC_OTHER,146,81,70,14 + RTEXT "&Filename:",IDC_STATICTEXT2,5,100,34,8 + EDITTEXT IDC_FILENAME,41,98,174,12,ES_AUTOHSCROLL END IDD_PROGRESS DIALOGEX 0, 0, 220, 114 @@ -185,14 +179,6 @@ IDI_IMPORT ICON "import.ico" #ifdef APSTUDIO_INVOKED GUIDELINES DESIGNINFO BEGIN - IDD_IMPORTTYPE, DIALOG - BEGIN - LEFTMARGIN, 5 - RIGHTMARGIN, 215 - TOPMARGIN, 5 - BOTTOMMARGIN, 109 - END - IDD_WIZARDINTRO, DIALOG BEGIN LEFTMARGIN, 5 @@ -324,6 +310,11 @@ BEGIN 0 END +IDD_MIRANDADB AFX_DIALOG_LAYOUT +BEGIN + 0 +END + #endif // Neutral resources ///////////////////////////////////////////////////////////////////////////// -- cgit v1.2.3