Commit 6ccf01fe authored by Alexandre Julliard's avatar Alexandre Julliard

winecfg: Display an nicer error when the mount manager cannot be accessed.

parent 59815fc2
......@@ -130,6 +130,7 @@ STYLE WS_CHILD | WS_DISABLED
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX " ",IDC_STATIC,8,4,244,240
LTEXT "Failed to connect to the mount manager, the drive configuration cannot be edited.", IDC_STATIC_MOUNTMGR_ERROR, 15,30,220,76
CONTROL "Listview",IDC_LIST_DRIVES,"SysListView32",LVS_REPORT | LVS_AUTOARRANGE | LVS_ALIGNLEFT |
LVS_SINGLESEL | WS_BORDER | WS_TABSTOP, 15,18,232,76
PUSHBUTTON "&...",IDC_BUTTON_ADD,15,98,47,14
......@@ -137,7 +138,7 @@ BEGIN
PUSHBUTTON "&...",IDC_BUTTON_AUTODETECT,197,98,49,14
/* editing drive details */
LTEXT "&:",IDC_STATIC,15,123,20,9
LTEXT "&:",IDC_STATIC_PATH,15,123,20,9
EDITTEXT IDC_EDIT_PATH,41,120,160,13,ES_AUTOHSCROLL | WS_TABSTOP
PUSHBUTTON "&...",IDC_BUTTON_BROWSE_PATH,206,120,40,13
......
......@@ -129,6 +129,7 @@ STYLE WS_CHILD | WS_DISABLED
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX " Mapovn disk ",IDC_STATIC,8,4,244,240
LTEXT "Failed to connect to the mount manager, the drive configuration cannot be edited.", IDC_STATIC_MOUNTMGR_ERROR, 15,30,220,76
CONTROL "Listview",IDC_LIST_DRIVES,"SysListView32",LVS_REPORT | LVS_AUTOARRANGE | LVS_ALIGNLEFT |
LVS_SINGLESEL | WS_BORDER | WS_TABSTOP, 15,18,232,76
PUSHBUTTON "Pid&at...",IDC_BUTTON_ADD,15,98,37,14
......@@ -136,7 +137,7 @@ BEGIN
PUSHBUTTON "Auto&detekce...",IDC_BUTTON_AUTODETECT,197,98,49,14
/* editing drive details */
LTEXT "&Cesta:",IDC_STATIC,15,123,20,9
LTEXT "&Cesta:",IDC_STATIC_PATH,15,123,20,9
EDITTEXT IDC_EDIT_PATH,41,120,160,13,ES_AUTOHSCROLL | WS_TABSTOP
PUSHBUTTON "&Prochzet...",IDC_BUTTON_BROWSE_PATH,206,120,40,13
......
......@@ -124,6 +124,7 @@ STYLE WS_CHILD | WS_DISABLED
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX " Enhedsoversttelse ",IDC_STATIC,8,4,244,240
LTEXT "Failed to connect to the mount manager, the drive configuration cannot be edited.", IDC_STATIC_MOUNTMGR_ERROR, 15,30,220,76
CONTROL "Listview",IDC_LIST_DRIVES,"SysListView32",LVS_REPORT | LVS_AUTOARRANGE | LVS_ALIGNLEFT |
LVS_SINGLESEL | WS_BORDER | WS_TABSTOP, 15,18,232,76
PUSHBUTTON "&Tilfj...",IDC_BUTTON_ADD,15,98,37,14
......@@ -131,7 +132,7 @@ BEGIN
PUSHBUTTON "Auto&detekter...",IDC_BUTTON_AUTODETECT,187,98,59,14
/* editing drive details */
LTEXT "&Sti:",IDC_STATIC,15,123,20,9
LTEXT "&Sti:",IDC_STATIC_PATH,15,123,20,9
EDITTEXT IDC_EDIT_PATH,41,120,150,13,ES_AUTOHSCROLL | WS_TABSTOP
PUSHBUTTON "&Gennemse...",IDC_BUTTON_BROWSE_PATH,196,120,50,13
......
......@@ -124,6 +124,7 @@ STYLE WS_CHILD | WS_DISABLED
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX " Laufwerkszuordnung ",IDC_STATIC,8,4,244,240
LTEXT "Failed to connect to the mount manager, the drive configuration cannot be edited.", IDC_STATIC_MOUNTMGR_ERROR, 15,30,220,76
CONTROL "Listview",IDC_LIST_DRIVES,"SysListView32",LVS_REPORT | LVS_AUTOARRANGE | LVS_ALIGNLEFT |
LVS_SINGLESEL | WS_BORDER | WS_TABSTOP, 15,18,232,76
PUSHBUTTON "&Hinzufgen",IDC_BUTTON_ADD,15,98,41,14
......@@ -131,7 +132,7 @@ BEGIN
PUSHBUTTON "&Automatisch", IDC_BUTTON_AUTODETECT,197,98,49,14
/* editing drive details */
LTEXT "&Pfad:",IDC_STATIC,15,123,20,9
LTEXT "&Pfad:",IDC_STATIC_PATH,15,123,20,9
EDITTEXT IDC_EDIT_PATH,41,120,155,13,ES_AUTOHSCROLL | WS_TABSTOP
PUSHBUTTON "&Durchsuchen",IDC_BUTTON_BROWSE_PATH,201,120,45,13
......
......@@ -126,6 +126,7 @@ STYLE WS_CHILD | WS_DISABLED
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX " Drive &mappings ",IDC_STATIC,8,4,244,240
LTEXT "Failed to connect to the mount manager, the drive configuration cannot be edited.", IDC_STATIC_MOUNTMGR_ERROR, 15,30,220,76
CONTROL "Listview",IDC_LIST_DRIVES,"SysListView32",LVS_REPORT | LVS_AUTOARRANGE | LVS_ALIGNLEFT |
LVS_SINGLESEL | WS_BORDER | WS_TABSTOP, 15,18,232,76
PUSHBUTTON "&Add...",IDC_BUTTON_ADD,15,98,37,14
......@@ -133,7 +134,7 @@ BEGIN
PUSHBUTTON "Auto&detect...",IDC_BUTTON_AUTODETECT,197,98,49,14
/* editing drive details */
LTEXT "&Path:",IDC_STATIC,15,123,20,9
LTEXT "&Path:",IDC_STATIC_PATH,15,123,20,9
EDITTEXT IDC_EDIT_PATH,41,120,160,13,ES_AUTOHSCROLL | WS_TABSTOP
PUSHBUTTON "&Browse...",IDC_BUTTON_BROWSE_PATH,206,120,40,13
......
......@@ -124,6 +124,7 @@ STYLE WS_CHILD | WS_DISABLED
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX " Mapeos de unidad ",IDC_STATIC,8,4,244,240
LTEXT "Failed to connect to the mount manager, the drive configuration cannot be edited.", IDC_STATIC_MOUNTMGR_ERROR, 15,30,220,76
CONTROL "Listview",IDC_LIST_DRIVES,"SysListView32",LVS_REPORT | LVS_AUTOARRANGE | LVS_ALIGNLEFT |
LVS_SINGLESEL | WS_BORDER | WS_TABSTOP, 15,18,232,76
PUSHBUTTON "&Aadir...",IDC_BUTTON_ADD,15,98,37,14
......@@ -131,7 +132,7 @@ BEGIN
PUSHBUTTON "Auto&detectar...",IDC_BUTTON_AUTODETECT,197,98,49,14
/* editing drive details */
LTEXT "&Ruta:",IDC_STATIC,15,123,20,9
LTEXT "&Ruta:",IDC_STATIC_PATH,15,123,20,9
EDITTEXT IDC_EDIT_PATH,41,120,160,13,ES_AUTOHSCROLL | WS_TABSTOP
PUSHBUTTON "&Examinar...",IDC_BUTTON_BROWSE_PATH,206,120,40,13
......
......@@ -125,6 +125,7 @@ STYLE WS_CHILD | WS_DISABLED
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX " Asemien mappaukset ",IDC_STATIC,8,4,244,240
LTEXT "Failed to connect to the mount manager, the drive configuration cannot be edited.", IDC_STATIC_MOUNTMGR_ERROR, 15,30,220,76
CONTROL "Listview",IDC_LIST_DRIVES,"SysListView32",LVS_REPORT | LVS_AUTOARRANGE | LVS_ALIGNLEFT |
LVS_SINGLESEL | WS_BORDER | WS_TABSTOP, 15,18,232,76
PUSHBUTTON "&Lis...",IDC_BUTTON_ADD,15,98,37,14
......@@ -132,7 +133,7 @@ BEGIN
PUSHBUTTON "&Hae automaattisesti",IDC_BUTTON_AUTODETECT,177,98,69,14
/* editing drive details */
LTEXT "&Polku:",IDC_STATIC,15,123,25,9
LTEXT "&Polku:",IDC_STATIC_PATH,15,123,25,9
EDITTEXT IDC_EDIT_PATH,41,120,160,13,ES_AUTOHSCROLL | WS_TABSTOP
PUSHBUTTON "&Selaa...",IDC_BUTTON_BROWSE_PATH,206,120,40,13
......
......@@ -124,6 +124,7 @@ STYLE WS_CHILD | WS_DISABLED
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX " Assignation des lecteurs ",IDC_STATIC,8,4,244,240
LTEXT "Failed to connect to the mount manager, the drive configuration cannot be edited.", IDC_STATIC_MOUNTMGR_ERROR, 15,30,220,76
CONTROL "Listview",IDC_LIST_DRIVES,"SysListView32",LVS_REPORT | LVS_AUTOARRANGE | LVS_ALIGNLEFT |
LVS_SINGLESEL | WS_BORDER | WS_TABSTOP, 15,18,232,76
PUSHBUTTON "&Ajouter...",IDC_BUTTON_ADD,15,98,37,14
......@@ -131,7 +132,7 @@ BEGIN
PUSHBUTTON "Auto&dtection...",IDC_BUTTON_AUTODETECT,191,98,55,14
/* editing drive details */
LTEXT "&Chemin :",IDC_STATIC,15,123,30,9
LTEXT "&Chemin :",IDC_STATIC_PATH,15,123,30,9
EDITTEXT IDC_EDIT_PATH,49,120,152,13,ES_AUTOHSCROLL | WS_TABSTOP
PUSHBUTTON "&Parcourir...",IDC_BUTTON_BROWSE_PATH,206,120,40,13
......
......@@ -124,6 +124,7 @@ STYLE WS_CHILD | WS_DISABLED
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX " Meghajt hozzrendelsek ",IDC_STATIC,8,4,244,240
LTEXT "Failed to connect to the mount manager, the drive configuration cannot be edited.", IDC_STATIC_MOUNTMGR_ERROR, 15,30,220,76
CONTROL "Listview",IDC_LIST_DRIVES,"SysListView32",LVS_REPORT | LVS_AUTOARRANGE | LVS_ALIGNLEFT |
LVS_SINGLESEL | WS_BORDER | WS_TABSTOP, 15,18,232,76
PUSHBUTTON "Hozz&ad...",IDC_BUTTON_ADD,15,98,37,14
......@@ -131,7 +132,7 @@ BEGIN
PUSHBUTTON "Auto&felism...",IDC_BUTTON_AUTODETECT,197,98,49,14
/* editing drive details */
LTEXT "&tv.:",IDC_STATIC,15,123,20,9
LTEXT "&tv.:",IDC_STATIC_PATH,15,123,20,9
EDITTEXT IDC_EDIT_PATH,41,120,160,13,ES_AUTOHSCROLL | WS_TABSTOP
PUSHBUTTON "&Tallzs...",IDC_BUTTON_BROWSE_PATH,206,120,40,13
......
......@@ -85,6 +85,7 @@ STYLE WS_CHILD | WS_DISABLED
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX "Altri Drive",IDC_STATIC,8,4,244,240
LTEXT "Failed to connect to the mount manager, the drive configuration cannot be edited.", IDC_STATIC_MOUNTMGR_ERROR, 15,30,220,76
CONTROL "Listview",IDC_LIST_DRIVES,"SysListView32",LVS_REPORT | LVS_AUTOARRANGE | LVS_ALIGNLEFT |
LVS_SINGLESEL | WS_BORDER | WS_TABSTOP, 15,18,232,76
PUSHBUTTON "Aggiungi...",IDC_BUTTON_ADD,15,98,37,14
......@@ -92,7 +93,7 @@ BEGIN
PUSHBUTTON "Rileva automaticamente...",IDC_BUTTON_AUTODETECT,157,98,89,14
/* editing drive details */
LTEXT "&Path:",IDC_STATIC,15,123,20,9
LTEXT "&Path:",IDC_STATIC_PATH,15,123,20,9
EDITTEXT IDC_EDIT_PATH,41,120,160,13,ES_AUTOHSCROLL | WS_TABSTOP
PUSHBUTTON "&Browse...",IDC_BUTTON_BROWSE_PATH,206,120,40,13
......
......@@ -129,6 +129,7 @@ STYLE WS_CHILD | WS_DISABLED
FONT 9, "MS Shell Dlg"
BEGIN
GROUPBOX " ドライブのマッピング ",IDC_STATIC,8,4,244,240
LTEXT "Failed to connect to the mount manager, the drive configuration cannot be edited.", IDC_STATIC_MOUNTMGR_ERROR, 15,30,220,76
CONTROL "Listview",IDC_LIST_DRIVES,"SysListView32",LVS_REPORT | LVS_AUTOARRANGE | LVS_ALIGNLEFT |
LVS_SINGLESEL | WS_BORDER | WS_TABSTOP, 15,18,232,76
PUSHBUTTON "追加(&A)...",IDC_BUTTON_ADD,15,98,37,14
......@@ -136,7 +137,7 @@ BEGIN
PUSHBUTTON "自動検出(&D)...",IDC_BUTTON_AUTODETECT,197,98,49,14
/* editing drive details */
LTEXT "パス(&P):",IDC_STATIC,15,123,20,9
LTEXT "パス(&P):",IDC_STATIC_PATH,15,123,20,9
EDITTEXT IDC_EDIT_PATH,41,120,160,13,ES_AUTOHSCROLL | WS_TABSTOP
PUSHBUTTON "参照(&B)...",IDC_BUTTON_BROWSE_PATH,206,120,40,13
......
......@@ -127,6 +127,7 @@ STYLE WS_CHILD | WS_DISABLED
FONT 9, "MS Shell Dlg"
BEGIN
GROUPBOX " 드라이브 연결(&M) ",IDC_STATIC,8,4,244,240
LTEXT "Failed to connect to the mount manager, the drive configuration cannot be edited.", IDC_STATIC_MOUNTMGR_ERROR, 15,30,220,76
CONTROL "목록보기",IDC_LIST_DRIVES,"SysListView32",LVS_REPORT | LVS_AUTOARRANGE | LVS_ALIGNLEFT |
LVS_SINGLESEL | WS_BORDER | WS_TABSTOP, 15,18,232,76
PUSHBUTTON "추가(&A)...",IDC_BUTTON_ADD,15,98,37,14
......@@ -134,7 +135,7 @@ BEGIN
PUSHBUTTON "자동 찾기(&D)...",IDC_BUTTON_AUTODETECT,195,98,51,14
/* editing drive details */
LTEXT "경로(&P):",IDC_STATIC,15,123,30,10
LTEXT "경로(&P):",IDC_STATIC_PATH,15,123,30,10
EDITTEXT IDC_EDIT_PATH,50,120,140,13,ES_AUTOHSCROLL | WS_TABSTOP
PUSHBUTTON "찾아보기(&B)...",IDC_BUTTON_BROWSE_PATH,195,120,51,13
......
......@@ -126,6 +126,7 @@ STYLE WS_CHILD | WS_DISABLED
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX " Stations ",IDC_STATIC,8,4,244,240
LTEXT "Failed to connect to the mount manager, the drive configuration cannot be edited.", IDC_STATIC_MOUNTMGR_ERROR, 15,30,220,76
CONTROL "Listview",IDC_LIST_DRIVES,"SysListView32",LVS_REPORT | LVS_AUTOARRANGE | LVS_ALIGNLEFT |
LVS_SINGLESEL | WS_BORDER | WS_TABSTOP, 15,18,232,76
PUSHBUTTON "&Toevoegen",IDC_BUTTON_ADD,15,98,54,14
......@@ -133,7 +134,7 @@ BEGIN
PUSHBUTTON "&Automatisch instellen",IDC_BUTTON_AUTODETECT,168,98,80,14
/* editing drive details */
LTEXT "&Pad:",IDC_STATIC,15,123,20,9
LTEXT "&Pad:",IDC_STATIC_PATH,15,123,20,9
EDITTEXT IDC_EDIT_PATH,41,120,160,13,ES_AUTOHSCROLL | WS_TABSTOP
PUSHBUTTON "&Bladeren...",IDC_BUTTON_BROWSE_PATH,208,120,40,13
......
......@@ -124,6 +124,7 @@ STYLE WS_CHILD | WS_DISABLED
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX " Stasjonkartlegging ",IDC_STATIC,8,4,244,240
LTEXT "Failed to connect to the mount manager, the drive configuration cannot be edited.", IDC_STATIC_MOUNTMGR_ERROR, 15,30,220,76
CONTROL "Listevisning",IDC_LIST_DRIVES,"SysListView32",LVS_REPORT | LVS_AUTOARRANGE | LVS_ALIGNLEFT |
LVS_SINGLESEL | WS_BORDER | WS_TABSTOP, 15,18,232,76
PUSHBUTTON "&Legg til...",IDC_BUTTON_ADD,15,98,45,14
......@@ -131,7 +132,7 @@ BEGIN
PUSHBUTTON "&Automatisk...",IDC_BUTTON_AUTODETECT,190,98,56,14
/* editing drive details */
LTEXT "&Sti:",IDC_STATIC,15,123,20,9
LTEXT "&Sti:",IDC_STATIC_PATH,15,123,20,9
EDITTEXT IDC_EDIT_PATH,41,120,160,13,ES_AUTOHSCROLL | WS_TABSTOP
PUSHBUTTON "&Bla...",IDC_BUTTON_BROWSE_PATH,206,120,40,13
......
......@@ -127,6 +127,7 @@ STYLE WS_CHILD | WS_DISABLED
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX " Przyporzdkowanie dyskw ",IDC_STATIC,8,4,244,240
LTEXT "Failed to connect to the mount manager, the drive configuration cannot be edited.", IDC_STATIC_MOUNTMGR_ERROR, 15,30,220,76
CONTROL "Listview",IDC_LIST_DRIVES,"SysListView32",LVS_REPORT | LVS_AUTOARRANGE | LVS_ALIGNLEFT |
LVS_SINGLESEL | WS_BORDER | WS_TABSTOP, 15,18,232,76
PUSHBUTTON "&Dodaj...",IDC_BUTTON_ADD,15,98,37,14
......@@ -134,7 +135,7 @@ BEGIN
PUSHBUTTON "Automatyczne wykrywanie",IDC_BUTTON_AUTODETECT,127,98,119,14
/* editing drive details */
LTEXT "&cieka:",IDC_STATIC,15,123,25,9
LTEXT "&cieka:",IDC_STATIC_PATH,15,123,25,9
EDITTEXT IDC_EDIT_PATH,46,120,145,13,ES_AUTOHSCROLL | WS_TABSTOP
PUSHBUTTON "&Przegldaj...",IDC_BUTTON_BROWSE_PATH,196,120,50,13
......
......@@ -207,6 +207,7 @@ STYLE WS_CHILD | WS_DISABLED
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX " Outras unidades",IDC_STATIC,8,4,244,240
LTEXT "Failed to connect to the mount manager, the drive configuration cannot be edited.", IDC_STATIC_MOUNTMGR_ERROR, 15,30,220,76
CONTROL "Listview",IDC_LIST_DRIVES,"SysListView32",LVS_REPORT | LVS_AUTOARRANGE | LVS_ALIGNLEFT |
LVS_SINGLESEL | WS_BORDER | WS_TABSTOP, 15,18,232,76
PUSHBUTTON "&Adicionar...",IDC_BUTTON_ADD,15,98,44,14
......@@ -214,7 +215,7 @@ BEGIN
PUSHBUTTON "Auto&detectar...",IDC_BUTTON_AUTODETECT,190,98,56,14
/* editing drive details */
LTEXT "&Path:",IDC_STATIC,15,123,20,9
LTEXT "&Path:",IDC_STATIC_PATH,15,123,20,9
EDITTEXT IDC_EDIT_PATH,41,120,160,13,ES_AUTOHSCROLL | WS_TABSTOP
PUSHBUTTON "&Browse...",IDC_BUTTON_BROWSE_PATH,206,120,40,13
......
......@@ -126,6 +126,7 @@ STYLE WS_CHILD | WS_DISABLED
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX " Mapare de discuri ",IDC_STATIC,8,4,244,240
LTEXT "Failed to connect to the mount manager, the drive configuration cannot be edited.", IDC_STATIC_MOUNTMGR_ERROR, 15,30,220,76
CONTROL "Listview",IDC_LIST_DRIVES,"SysListView32",LVS_REPORT | LVS_AUTOARRANGE | LVS_ALIGNLEFT |
LVS_SINGLESEL | WS_BORDER | WS_TABSTOP, 15,18,232,76
PUSHBUTTON "&Adaugă",IDC_BUTTON_ADD,15,98,37,14
......@@ -133,7 +134,7 @@ BEGIN
PUSHBUTTON "&Detectează",IDC_BUTTON_AUTODETECT,197,98,49,14
/* editing drive details */
LTEXT "&Calea:",IDC_STATIC,15,123,20,9
LTEXT "&Calea:",IDC_STATIC_PATH,15,123,20,9
EDITTEXT IDC_EDIT_PATH,41,120,160,13,ES_AUTOHSCROLL | WS_TABSTOP
PUSHBUTTON "&Navigează",IDC_BUTTON_BROWSE_PATH,206,120,40,13
......
......@@ -128,6 +128,7 @@ STYLE WS_CHILD | WS_DISABLED
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX " ",IDC_STATIC,8,4,244,240
LTEXT "Failed to connect to the mount manager, the drive configuration cannot be edited.", IDC_STATIC_MOUNTMGR_ERROR, 15,30,220,76
CONTROL "Listview",IDC_LIST_DRIVES,"SysListView32",LVS_REPORT | LVS_AUTOARRANGE | LVS_ALIGNLEFT |
LVS_SINGLESEL | WS_BORDER | WS_TABSTOP, 15,18,232,76
PUSHBUTTON "&...",IDC_BUTTON_ADD,15,98,45,14
......@@ -135,7 +136,7 @@ BEGIN
PUSHBUTTON "&...",IDC_BUTTON_AUTODETECT,165,98,80,14
/* editing drive details */
LTEXT "&:",IDC_STATIC,15,123,20,9
LTEXT "&:",IDC_STATIC_PATH,15,123,20,9
EDITTEXT IDC_EDIT_PATH,41,120,160,13,ES_AUTOHSCROLL | WS_TABSTOP
PUSHBUTTON "&...",IDC_BUTTON_BROWSE_PATH,206,120,40,13
......
......@@ -126,6 +126,7 @@ STYLE WS_CHILD | WS_DISABLED
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX " Preslikave &pogonov ",IDC_STATIC,8,4,244,240
LTEXT "Failed to connect to the mount manager, the drive configuration cannot be edited.", IDC_STATIC_MOUNTMGR_ERROR, 15,30,220,76
CONTROL "Listview",IDC_LIST_DRIVES,"SysListView32",LVS_REPORT | LVS_AUTOARRANGE | LVS_ALIGNLEFT |
LVS_SINGLESEL | WS_BORDER | WS_TABSTOP, 15,18,232,76
PUSHBUTTON "&Dodaj ...",IDC_BUTTON_ADD,15,98,37,14
......@@ -133,7 +134,7 @@ BEGIN
PUSHBUTTON "&Samozaznaj ...",IDC_BUTTON_AUTODETECT,187,98,59,14
/* editing drive details */
LTEXT "&Pot:",IDC_STATIC,15,123,20,9
LTEXT "&Pot:",IDC_STATIC_PATH,15,123,20,9
EDITTEXT IDC_EDIT_PATH,41,120,160,13,ES_AUTOHSCROLL | WS_TABSTOP
PUSHBUTTON "&Brskaj ...",IDC_BUTTON_BROWSE_PATH,206,120,40,13
......
......@@ -124,6 +124,7 @@ STYLE WS_CHILD | WS_DISABLED
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX " Enhets&mappningar ",IDC_STATIC,8,4,244,240
LTEXT "Failed to connect to the mount manager, the drive configuration cannot be edited.", IDC_STATIC_MOUNTMGR_ERROR, 15,30,220,76
CONTROL "Listvy",IDC_LIST_DRIVES,"SysListView32",LVS_REPORT | LVS_AUTOARRANGE | LVS_ALIGNLEFT |
LVS_SINGLESEL | WS_BORDER | WS_TABSTOP, 15,18,232,76
PUSHBUTTON "&Lgg till...",IDC_BUTTON_ADD,15,98,37,14
......@@ -131,7 +132,7 @@ BEGIN
PUSHBUTTON "Auto&detect...",IDC_BUTTON_AUTODETECT,197,98,49,14
/* editing drive details */
LTEXT "&Skvg:",IDC_STATIC,15,123,20,9
LTEXT "&Skvg:",IDC_STATIC_PATH,15,123,20,9
EDITTEXT IDC_EDIT_PATH,41,120,160,13,ES_AUTOHSCROLL | WS_TABSTOP
PUSHBUTTON "&Blddra...",IDC_BUTTON_BROWSE_PATH,206,120,40,13
......
......@@ -124,6 +124,7 @@ STYLE WS_CHILD | WS_DISABLED
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX " Src Eletirmesi ",IDC_STATIC,8,4,244,240
LTEXT "Failed to connect to the mount manager, the drive configuration cannot be edited.", IDC_STATIC_MOUNTMGR_ERROR, 15,30,220,76
CONTROL "Listview",IDC_LIST_DRIVES,"SysListView32",LVS_REPORT | LVS_AUTOARRANGE | LVS_ALIGNLEFT |
LVS_SINGLESEL | WS_BORDER | WS_TABSTOP, 15,18,232,76
PUSHBUTTON "&Ekle...",IDC_BUTTON_ADD,15,98,37,14
......@@ -131,7 +132,7 @@ BEGIN
PUSHBUTTON "Otomatik &Algla...",IDC_BUTTON_AUTODETECT,186,98,60,14
/* editing drive details */
LTEXT "&Yol:",IDC_STATIC,15,123,20,9
LTEXT "&Yol:",IDC_STATIC_PATH,15,123,20,9
EDITTEXT IDC_EDIT_PATH,41,120,160,13,ES_AUTOHSCROLL | WS_TABSTOP
PUSHBUTTON "&Gzat...",IDC_BUTTON_BROWSE_PATH,206,120,40,13
......
......@@ -128,6 +128,7 @@ STYLE WS_CHILD | WS_DISABLED
FONT 9, "MS Song"
BEGIN
GROUPBOX " 驱动器映射(&m) ",IDC_STATIC,8,4,244,240
LTEXT "Failed to connect to the mount manager, the drive configuration cannot be edited.", IDC_STATIC_MOUNTMGR_ERROR, 15,30,220,76
CONTROL "Listview",IDC_LIST_DRIVES,"SysListView32",LVS_REPORT | LVS_AUTOARRANGE | LVS_ALIGNLEFT |
LVS_SINGLESEL | WS_BORDER | WS_TABSTOP, 15,18,232,76
PUSHBUTTON "加入(&A)",IDC_BUTTON_ADD,15,98,37,14
......@@ -135,7 +136,7 @@ BEGIN
PUSHBUTTON "自动侦测(&d)",IDC_BUTTON_AUTODETECT,197,98,49,14
/* editing drive details */
LTEXT "路径(&P):",IDC_STATIC,15,123,20,9
LTEXT "路径(&P):",IDC_STATIC_PATH,15,123,20,9
EDITTEXT IDC_EDIT_PATH,41,120,160,13,ES_AUTOHSCROLL | WS_TABSTOP
PUSHBUTTON "浏览(&B)...",IDC_BUTTON_BROWSE_PATH,206,120,40,13
......
......@@ -675,7 +675,22 @@ DriveDlgProc (HWND dialog, UINT msg, WPARAM wParam, LPARAM lParam)
{
case WM_INITDIALOG:
init_listview_columns(dialog);
load_drives();
if (!load_drives())
{
ShowWindow( GetDlgItem( dialog, IDC_STATIC_MOUNTMGR_ERROR ), SW_SHOW );
ShowWindow( GetDlgItem( dialog, IDC_LIST_DRIVES ), SW_HIDE );
ShowWindow( GetDlgItem( dialog, IDC_BUTTON_ADD ), SW_HIDE );
ShowWindow( GetDlgItem( dialog, IDC_BUTTON_REMOVE ), SW_HIDE );
ShowWindow( GetDlgItem( dialog, IDC_BUTTON_AUTODETECT ), SW_HIDE );
ShowWindow( GetDlgItem( dialog, IDC_STATIC_PATH ), SW_HIDE );
ShowWindow( GetDlgItem( dialog, IDC_EDIT_PATH ), SW_HIDE );
ShowWindow( GetDlgItem( dialog, IDC_BUTTON_BROWSE_PATH ), SW_HIDE );
ShowWindow( GetDlgItem( dialog, IDC_COMBO_TYPE ), SW_HIDE );
ShowWindow( GetDlgItem( dialog, IDC_BUTTON_SHOW_HIDE_ADVANCED ), SW_HIDE );
set_advanced(dialog);
break;
}
ShowWindow( GetDlgItem( dialog, IDC_STATIC_MOUNTMGR_ERROR ), SW_HIDE );
load_drive_options(dialog);
if (!drives[2].in_use)
......
......@@ -90,6 +90,7 @@
#define IDS_SELECT_EXECUTABLE 8020
/* drive editing */
#define IDC_STATIC_MOUNTMGR_ERROR 1041
#define IDC_LIST_DRIVES 1042
#define IDC_BUTTON_ADD 1043
#define IDC_BUTTON_REMOVE 1044
......@@ -112,6 +113,7 @@
#define IDC_EDIT_LABEL 1060
#define IDC_EDIT_PATH 1061
#define IDC_EDIT_SERIAL 1062
#define IDC_STATIC_PATH 1063
#define IDC_COMBO_TYPE 1065
#define IDC_EDIT_DEVICE 1066
#define IDC_BUTTON_BROWSE_PATH 1067
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment