diff --git a/dll/shellext/netshell/lang/bg-BG.rc b/dll/shellext/netshell/lang/bg-BG.rc index 5f0568c62a8..e3e528dd51c 100644 --- a/dll/shellext/netshell/lang/bg-BG.rc +++ b/dll/shellext/netshell/lang/bg-BG.rc @@ -73,7 +73,7 @@ FONT 8, "MS Shell Dlg" BEGIN LTEXT "По&дробности за мрежовото свързване:", -1, 10, 4, 170, 12 CONTROL "", IDC_DETAILS, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 10, 15, 170, 130 - PUSHBUTTON "&Затваряне", IDC_CLOSE, 120, 155, 60, 14 + DEFPUSHBUTTON "&Затваряне", IDCANCEL, 120, 155, 60, 14 END IDD_NETWORKINITPAGE DIALOGEX 0, 0, 317, 143 diff --git a/dll/shellext/netshell/lang/cs-CZ.rc b/dll/shellext/netshell/lang/cs-CZ.rc index c3e30659d29..8f34d3523d2 100644 --- a/dll/shellext/netshell/lang/cs-CZ.rc +++ b/dll/shellext/netshell/lang/cs-CZ.rc @@ -73,7 +73,7 @@ FONT 8, "MS Shell Dlg" BEGIN LTEXT "&Podrobnosti síťového připojení:", -1, 10, 4, 170, 12 CONTROL "", IDC_DETAILS, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 10, 15, 170, 130 - PUSHBUTTON "&zavřít", IDC_CLOSE, 120, 155, 60, 14 + DEFPUSHBUTTON "&Zavřít", IDCANCEL, 120, 155, 60, 14 END IDD_NETWORKINITPAGE DIALOGEX 0, 0, 317, 143 diff --git a/dll/shellext/netshell/lang/da-DK.rc b/dll/shellext/netshell/lang/da-DK.rc index 21eceec349b..99f2b497ef5 100644 --- a/dll/shellext/netshell/lang/da-DK.rc +++ b/dll/shellext/netshell/lang/da-DK.rc @@ -73,7 +73,7 @@ FONT 8, "MS Shell Dlg" BEGIN LTEXT "Network Connection &Details:", -1, 10, 4, 170, 12 CONTROL "", IDC_DETAILS, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 10, 15, 170, 130 - PUSHBUTTON "&Close", IDC_CLOSE, 120, 155, 60, 14 + DEFPUSHBUTTON "&Close", IDCANCEL, 120, 155, 60, 14 END IDD_NETWORKINITPAGE DIALOGEX 0, 0, 317, 143 diff --git a/dll/shellext/netshell/lang/de-DE.rc b/dll/shellext/netshell/lang/de-DE.rc index bb5a3fd30f5..4138774d580 100644 --- a/dll/shellext/netshell/lang/de-DE.rc +++ b/dll/shellext/netshell/lang/de-DE.rc @@ -73,7 +73,7 @@ FONT 8, "MS Shell Dlg" BEGIN LTEXT "Netzwerkverbindungs&details:", -1, 10, 4, 170, 12 CONTROL "", IDC_DETAILS, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 10, 15, 170, 130 - PUSHBUTTON "&Schließen", IDC_CLOSE, 120, 155, 60, 14 + DEFPUSHBUTTON "&Schließen", IDCANCEL, 120, 155, 60, 14 END IDD_NETWORKINITPAGE DIALOGEX 0, 0, 317, 143 diff --git a/dll/shellext/netshell/lang/el-GR.rc b/dll/shellext/netshell/lang/el-GR.rc index c0ee6437313..800e5cb9e8d 100644 --- a/dll/shellext/netshell/lang/el-GR.rc +++ b/dll/shellext/netshell/lang/el-GR.rc @@ -73,7 +73,7 @@ FONT 8, "MS Shell Dlg" BEGIN LTEXT "Network Connection &Details:", -1, 10, 4, 170, 12 CONTROL "", IDC_DETAILS, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 10, 15, 170, 130 - PUSHBUTTON "&Close", IDC_CLOSE, 120, 155, 60, 14 + DEFPUSHBUTTON "&Close", IDCANCEL, 120, 155, 60, 14 END IDD_NETWORKINITPAGE DIALOGEX 0, 0, 317, 143 diff --git a/dll/shellext/netshell/lang/en-US.rc b/dll/shellext/netshell/lang/en-US.rc index dd744f73b7c..a13dc7db684 100644 --- a/dll/shellext/netshell/lang/en-US.rc +++ b/dll/shellext/netshell/lang/en-US.rc @@ -73,7 +73,7 @@ FONT 8, "MS Shell Dlg" BEGIN LTEXT "Network Connection &Details:", -1, 10, 4, 170, 12 CONTROL "", IDC_DETAILS, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 10, 15, 170, 130 - PUSHBUTTON "&Close", IDC_CLOSE, 120, 155, 60, 14 + DEFPUSHBUTTON "&Close", IDCANCEL, 120, 155, 60, 14 END IDD_NETWORKINITPAGE DIALOGEX 0, 0, 317, 143 diff --git a/dll/shellext/netshell/lang/es-ES.rc b/dll/shellext/netshell/lang/es-ES.rc index e58700cb6bd..ce731750e56 100644 --- a/dll/shellext/netshell/lang/es-ES.rc +++ b/dll/shellext/netshell/lang/es-ES.rc @@ -81,7 +81,7 @@ FONT 8, "MS Shell Dlg" BEGIN LTEXT "&Detalles de la conexión de red:", -1, 10, 4, 170, 12 CONTROL "", IDC_DETAILS, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 10, 15, 170, 130 - PUSHBUTTON "&Cerrar", IDC_CLOSE, 120, 155, 60, 14 + DEFPUSHBUTTON "&Cerrar", IDCANCEL, 120, 155, 60, 14 END IDD_NETWORKINITPAGE DIALOGEX 0, 0, 317, 143 diff --git a/dll/shellext/netshell/lang/fr-FR.rc b/dll/shellext/netshell/lang/fr-FR.rc index 286c2f749ff..7d6966b916a 100644 --- a/dll/shellext/netshell/lang/fr-FR.rc +++ b/dll/shellext/netshell/lang/fr-FR.rc @@ -73,7 +73,7 @@ FONT 8, "MS Shell Dlg" BEGIN LTEXT "&Détails de connexion réseau :", -1, 10, 4, 170, 12 CONTROL "", IDC_DETAILS, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 10, 15, 170, 130 - PUSHBUTTON "Fermer", IDC_CLOSE, 120, 155, 60, 14 + DEFPUSHBUTTON "&Fermer", IDCANCEL, 120, 155, 60, 14 END IDD_NETWORKINITPAGE DIALOGEX 0, 0, 317, 143 diff --git a/dll/shellext/netshell/lang/he-IL.rc b/dll/shellext/netshell/lang/he-IL.rc index bb15e6846b7..a8c8322f682 100644 --- a/dll/shellext/netshell/lang/he-IL.rc +++ b/dll/shellext/netshell/lang/he-IL.rc @@ -73,7 +73,7 @@ FONT 8, "MS Shell Dlg" BEGIN LTEXT "מאפייני חיבור הרשת:", -1, 10, 4, 170, 12 CONTROL "", IDC_DETAILS, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 10, 15, 170, 130 - PUSHBUTTON "סגור", IDC_CLOSE, 120, 155, 60, 14 + DEFPUSHBUTTON "&סגור", IDCANCEL, 120, 155, 60, 14 END IDD_NETWORKINITPAGE DIALOGEX 0, 0, 317, 143 diff --git a/dll/shellext/netshell/lang/hi-IN.rc b/dll/shellext/netshell/lang/hi-IN.rc index a5835f6ffcb..e72df29f0b4 100644 --- a/dll/shellext/netshell/lang/hi-IN.rc +++ b/dll/shellext/netshell/lang/hi-IN.rc @@ -79,7 +79,7 @@ FONT 8, "MS Shell Dlg" BEGIN LTEXT "नेटवर्क कनेक्शन &विवरण:", -1, 10, 4, 170, 12 CONTROL "", IDC_DETAILS, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 10, 15, 170, 130 - PUSHBUTTON "&बंद करे", IDC_CLOSE, 120, 155, 60, 14 + DEFPUSHBUTTON "&बंद करे", IDCANCEL, 120, 155, 60, 14 END IDD_NETWORKINITPAGE DIALOGEX 0, 0, 317, 143 diff --git a/dll/shellext/netshell/lang/hu-HU.rc b/dll/shellext/netshell/lang/hu-HU.rc index 2c9d0e508c5..38fcaafae9f 100644 --- a/dll/shellext/netshell/lang/hu-HU.rc +++ b/dll/shellext/netshell/lang/hu-HU.rc @@ -73,7 +73,7 @@ FONT 8, "MS Shell Dlg" BEGIN LTEXT "Hálózati kapcsolat &részletei:", -1, 10, 4, 170, 12 CONTROL "", IDC_DETAILS, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 10, 15, 170, 130 - PUSHBUTTON "&Bezárás", IDC_CLOSE, 120, 155, 60, 14 + DEFPUSHBUTTON "&Bezárás", IDCANCEL, 120, 155, 60, 14 END IDD_NETWORKINITPAGE DIALOGEX 0, 0, 317, 143 diff --git a/dll/shellext/netshell/lang/id-ID.rc b/dll/shellext/netshell/lang/id-ID.rc index f45bd376eae..a590542a008 100644 --- a/dll/shellext/netshell/lang/id-ID.rc +++ b/dll/shellext/netshell/lang/id-ID.rc @@ -73,7 +73,7 @@ FONT 8, "MS Shell Dlg" BEGIN LTEXT "Network Connection &Details:", -1, 10, 4, 170, 12 CONTROL "", IDC_DETAILS, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 10, 15, 170, 130 - PUSHBUTTON "&Close", IDC_CLOSE, 120, 155, 60, 14 + DEFPUSHBUTTON "&Close", IDCANCEL, 120, 155, 60, 14 END IDD_NETWORKINITPAGE DIALOGEX 0, 0, 317, 143 diff --git a/dll/shellext/netshell/lang/it-IT.rc b/dll/shellext/netshell/lang/it-IT.rc index 12d0e1061ea..e4a6f2c8327 100644 --- a/dll/shellext/netshell/lang/it-IT.rc +++ b/dll/shellext/netshell/lang/it-IT.rc @@ -73,7 +73,7 @@ FONT 8, "MS Shell Dlg" BEGIN LTEXT "Dettagli della connessione di &rete:", -1, 10, 4, 170, 12 CONTROL "", IDC_DETAILS, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 10, 15, 170, 130 - PUSHBUTTON "&Close", IDC_CLOSE, 120, 155, 60, 14 + DEFPUSHBUTTON "&Close", IDCANCEL, 120, 155, 60, 14 END IDD_NETWORKINITPAGE DIALOGEX 0, 0, 317, 143 diff --git a/dll/shellext/netshell/lang/ja-JP.rc b/dll/shellext/netshell/lang/ja-JP.rc index dff2d980e5f..37c9a6fb8e4 100644 --- a/dll/shellext/netshell/lang/ja-JP.rc +++ b/dll/shellext/netshell/lang/ja-JP.rc @@ -73,7 +73,7 @@ FONT 9, "MS UI Gothic" BEGIN LTEXT "ネットワーク接続の詳細(&D):", -1, 10, 4, 170, 12 CONTROL "", IDC_DETAILS, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 10, 15, 170, 130 - PUSHBUTTON "閉じる(&C)", IDC_CLOSE, 120, 155, 60, 14 + DEFPUSHBUTTON "閉じる(&C)", IDCANCEL, 120, 155, 60, 14 END IDD_NETWORKINITPAGE DIALOGEX 0, 0, 317, 143 diff --git a/dll/shellext/netshell/lang/nl-NL.rc b/dll/shellext/netshell/lang/nl-NL.rc index 1aeb373666a..3abedc513aa 100644 --- a/dll/shellext/netshell/lang/nl-NL.rc +++ b/dll/shellext/netshell/lang/nl-NL.rc @@ -73,7 +73,7 @@ FONT 8, "MS Shell Dlg" BEGIN LTEXT "Netwerk Verbinding &Details:", -1, 10, 4, 170, 12 CONTROL "", IDC_DETAILS, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 10, 15, 170, 130 - PUSHBUTTON "&Close", IDC_CLOSE, 120, 155, 60, 14 + DEFPUSHBUTTON "&Close", IDCANCEL, 120, 155, 60, 14 END IDD_NETWORKINITPAGE DIALOGEX 0, 0, 317, 143 diff --git a/dll/shellext/netshell/lang/no-NO.rc b/dll/shellext/netshell/lang/no-NO.rc index 1c4682a3da9..785da6fe06f 100644 --- a/dll/shellext/netshell/lang/no-NO.rc +++ b/dll/shellext/netshell/lang/no-NO.rc @@ -73,7 +73,7 @@ FONT 8, "MS Shell Dlg" BEGIN LTEXT "Nettverk tilkobling &detaljer:", -1, 10, 4, 170, 12 CONTROL "", IDC_DETAILS, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 10, 15, 170, 130 - PUSHBUTTON "&Lukk", IDC_CLOSE, 120, 155, 60, 14 + DEFPUSHBUTTON "&Lukk", IDCANCEL, 120, 155, 60, 14 END IDD_NETWORKINITPAGE DIALOGEX 0, 0, 317, 143 diff --git a/dll/shellext/netshell/lang/pl-PL.rc b/dll/shellext/netshell/lang/pl-PL.rc index 914353ff04a..bec8516b20b 100644 --- a/dll/shellext/netshell/lang/pl-PL.rc +++ b/dll/shellext/netshell/lang/pl-PL.rc @@ -84,7 +84,7 @@ FONT 8, "MS Shell Dlg" BEGIN LTEXT "&Szczegóły połączenia sieciowego:", -1, 10, 4, 170, 12 CONTROL "", IDC_DETAILS, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 10, 15, 170, 130 - PUSHBUTTON "&Zamknij", IDC_CLOSE, 120, 155, 60, 14 + DEFPUSHBUTTON "&Zamknij", IDCANCEL, 120, 155, 60, 14 END IDD_NETWORKINITPAGE DIALOGEX 0, 0, 317, 143 diff --git a/dll/shellext/netshell/lang/pt-PT.rc b/dll/shellext/netshell/lang/pt-PT.rc index 0efe3f0263b..a36bbc69cd5 100644 --- a/dll/shellext/netshell/lang/pt-PT.rc +++ b/dll/shellext/netshell/lang/pt-PT.rc @@ -80,7 +80,7 @@ FONT 8, "MS Shell Dlg" BEGIN LTEXT "&Detalhes da ligação:", -1, 10, 4, 170, 12 CONTROL "", IDC_DETAILS, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 10, 15, 170, 130 - PUSHBUTTON "&Fechar", IDC_CLOSE, 120, 155, 60, 14 + DEFPUSHBUTTON "&Fechar", IDCANCEL, 120, 155, 60, 14 END IDD_NETWORKINITPAGE DIALOGEX 0, 0, 317, 143 diff --git a/dll/shellext/netshell/lang/ro-RO.rc b/dll/shellext/netshell/lang/ro-RO.rc index 7ac5a335772..2dda3db086f 100644 --- a/dll/shellext/netshell/lang/ro-RO.rc +++ b/dll/shellext/netshell/lang/ro-RO.rc @@ -83,7 +83,7 @@ FONT 8, "MS Shell Dlg" BEGIN LTEXT "&Detalii conexiune rețea:", -1, 10, 4, 170, 12 CONTROL "", IDC_DETAILS, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 10, 15, 170, 130 - PUSHBUTTON "Î&nchidere", IDC_CLOSE, 120, 155, 60, 14 + DEFPUSHBUTTON "Î&nchidere", IDCANCEL, 120, 155, 60, 14 END IDD_NETWORKINITPAGE DIALOGEX 0, 0, 317, 143 diff --git a/dll/shellext/netshell/lang/ru-RU.rc b/dll/shellext/netshell/lang/ru-RU.rc index bfab998b362..6729f55ba04 100644 --- a/dll/shellext/netshell/lang/ru-RU.rc +++ b/dll/shellext/netshell/lang/ru-RU.rc @@ -73,7 +73,7 @@ FONT 8, "MS Shell Dlg" BEGIN LTEXT "&Дополнительные сведения о сети:", -1, 10, 4, 170, 12 CONTROL "", IDC_DETAILS, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 10, 15, 170, 130 - PUSHBUTTON "&Закрыть", IDC_CLOSE, 120, 155, 60, 14 + DEFPUSHBUTTON "&Закрыть", IDCANCEL, 120, 155, 60, 14 END IDD_NETWORKINITPAGE DIALOGEX 0, 0, 317, 143 diff --git a/dll/shellext/netshell/lang/sk-SK.rc b/dll/shellext/netshell/lang/sk-SK.rc index cac5c29a829..909d1e5b208 100644 --- a/dll/shellext/netshell/lang/sk-SK.rc +++ b/dll/shellext/netshell/lang/sk-SK.rc @@ -75,7 +75,7 @@ FONT 8, "MS Shell Dlg" BEGIN LTEXT "Po&drobnosti sieťového pripojenia:", -1, 10, 4, 170, 12 CONTROL "", IDC_DETAILS, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 10, 15, 170, 130 - PUSHBUTTON "&Zavrieť", IDC_CLOSE, 120, 155, 60, 14 + DEFPUSHBUTTON "&Zavrieť", IDCANCEL, 120, 155, 60, 14 END IDD_NETWORKINITPAGE DIALOGEX 0, 0, 317, 143 diff --git a/dll/shellext/netshell/lang/sq-AL.rc b/dll/shellext/netshell/lang/sq-AL.rc index 0556bf1dd81..41462b87bb4 100644 --- a/dll/shellext/netshell/lang/sq-AL.rc +++ b/dll/shellext/netshell/lang/sq-AL.rc @@ -75,7 +75,7 @@ FONT 8, "MS Shell Dlg" BEGIN LTEXT "&Detaje Lidhjes Rrjetit:", -1, 15, 9, 170, 12 CONTROL "", IDC_DETAILS, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 15, 25, 170, 130 - PUSHBUTTON "&Mbyll", IDC_CLOSE, 125, 165, 62, 14 + DEFPUSHBUTTON "&Mbyll", IDCANCEL, 125, 165, 62, 14 END IDD_NETWORKINITPAGE DIALOGEX 0, 0, 317, 143 diff --git a/dll/shellext/netshell/lang/sv-SE.rc b/dll/shellext/netshell/lang/sv-SE.rc index 1efc78aa24b..72d62f28d2b 100644 --- a/dll/shellext/netshell/lang/sv-SE.rc +++ b/dll/shellext/netshell/lang/sv-SE.rc @@ -73,7 +73,7 @@ FONT 8, "MS Shell Dlg" BEGIN LTEXT "Network Connection &Details:", -1, 10, 4, 170, 12 CONTROL "", IDC_DETAILS, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 10, 15, 170, 130 - PUSHBUTTON "&Close", IDC_CLOSE, 120, 155, 60, 14 + DEFPUSHBUTTON "&Close", IDCANCEL, 120, 155, 60, 14 END IDD_NETWORKINITPAGE DIALOGEX 0, 0, 317, 143 diff --git a/dll/shellext/netshell/lang/tr-TR.rc b/dll/shellext/netshell/lang/tr-TR.rc index db57faa84fa..5a915bbc499 100644 --- a/dll/shellext/netshell/lang/tr-TR.rc +++ b/dll/shellext/netshell/lang/tr-TR.rc @@ -75,7 +75,7 @@ FONT 8, "MS Shell Dlg" BEGIN LTEXT "&Ağ Bağlantısı Ayrıntıları:", -1, 10, 4, 170, 12 CONTROL "", IDC_DETAILS, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 10, 15, 170, 130 - PUSHBUTTON "&Kapat", IDC_CLOSE, 120, 155, 60, 14 + DEFPUSHBUTTON "&Kapat", IDCANCEL, 120, 155, 60, 14 END IDD_NETWORKINITPAGE DIALOGEX 0, 0, 317, 143 diff --git a/dll/shellext/netshell/lang/uk-UA.rc b/dll/shellext/netshell/lang/uk-UA.rc index 35900b89888..28fef73a1c4 100644 --- a/dll/shellext/netshell/lang/uk-UA.rc +++ b/dll/shellext/netshell/lang/uk-UA.rc @@ -79,7 +79,7 @@ FONT 8, "MS Shell Dlg" BEGIN LTEXT "&Відомості про мережне підключення:", -1, 10, 4, 170, 12 CONTROL "", IDC_DETAILS, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 10, 15, 170, 130 - PUSHBUTTON "&Закрити", IDC_CLOSE, 120, 155, 60, 14 + DEFPUSHBUTTON "&Закрити", IDCANCEL, 120, 155, 60, 14 END IDD_NETWORKINITPAGE DIALOGEX 0, 0, 317, 143 diff --git a/dll/shellext/netshell/lang/zh-CN.rc b/dll/shellext/netshell/lang/zh-CN.rc index 93f98c7641f..e593085788d 100644 --- a/dll/shellext/netshell/lang/zh-CN.rc +++ b/dll/shellext/netshell/lang/zh-CN.rc @@ -81,7 +81,7 @@ FONT 9, "宋体" BEGIN LTEXT "网络连接详细信息:(&D)", -1, 10, 4, 170, 12 CONTROL "", IDC_DETAILS, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 10, 15, 170, 130 - PUSHBUTTON "关闭(&C)", IDC_CLOSE, 120, 155, 60, 14 + DEFPUSHBUTTON "关闭(&C)", IDCANCEL, 120, 155, 60, 14 END IDD_NETWORKINITPAGE DIALOGEX 0, 0, 317, 143 diff --git a/dll/shellext/netshell/lang/zh-HK.rc b/dll/shellext/netshell/lang/zh-HK.rc index c279b544a16..f318775f7e9 100644 --- a/dll/shellext/netshell/lang/zh-HK.rc +++ b/dll/shellext/netshell/lang/zh-HK.rc @@ -81,7 +81,7 @@ FONT 9, "新細明體" BEGIN LTEXT "網絡連線詳細資料(&D):", -1, 10, 4, 170, 12 CONTROL "", IDC_DETAILS, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 10, 15, 170, 130 - PUSHBUTTON "關閉(&C)", IDC_CLOSE, 120, 155, 60, 14 + DEFPUSHBUTTON "關閉(&C)", IDCANCEL, 120, 155, 60, 14 END IDD_NETWORKINITPAGE DIALOGEX 0, 0, 317, 143 diff --git a/dll/shellext/netshell/lang/zh-TW.rc b/dll/shellext/netshell/lang/zh-TW.rc index 723820f5a83..14f6ac108a2 100644 --- a/dll/shellext/netshell/lang/zh-TW.rc +++ b/dll/shellext/netshell/lang/zh-TW.rc @@ -81,7 +81,7 @@ FONT 9, "新細明體" BEGIN LTEXT "網路連線詳細資料(&D):", -1, 10, 4, 170, 12 CONTROL "", IDC_DETAILS, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 10, 15, 170, 130 - PUSHBUTTON "關閉(&C)", IDC_CLOSE, 120, 155, 60, 14 + DEFPUSHBUTTON "關閉(&C)", IDCANCEL, 120, 155, 60, 14 END IDD_NETWORKINITPAGE DIALOGEX 0, 0, 317, 143 diff --git a/dll/shellext/netshell/lanstatusui.cpp b/dll/shellext/netshell/lanstatusui.cpp index f2a84a950d1..c3a41025be0 100644 --- a/dll/shellext/netshell/lanstatusui.cpp +++ b/dll/shellext/netshell/lanstatusui.cpp @@ -429,11 +429,10 @@ LANStatusUiDetailsDlg( pContext = (LANSTATUSUI_CONTEXT*)lParam; hDlgCtrl = GetDlgItem(hwndDlg, IDC_DETAILS); + ListView_SetExtendedListViewStyleEx(hDlgCtrl, LVS_EX_FULLROWSELECT, LVS_EX_FULLROWSELECT); - /* get client rect */ + /* Calculate column width */ GetClientRect(hDlgCtrl, &rect); - - /* calculate column width */ dwSize = rect.right / 2; InsertColumnToListView(hDlgCtrl, IDS_PROPERTY, 0, dwSize); @@ -550,7 +549,7 @@ LANStatusUiDetailsDlg( break; case WM_COMMAND: - if (LOWORD(wParam) == IDC_CLOSE) + if (LOWORD(wParam) == IDCANCEL) { EndDialog(hwndDlg, FALSE); break; diff --git a/dll/shellext/netshell/resource.h b/dll/shellext/netshell/resource.h index d647b12f587..794deaa89b6 100644 --- a/dll/shellext/netshell/resource.h +++ b/dll/shellext/netshell/resource.h @@ -49,8 +49,6 @@ #define IDC_DETAILSGATEWAY 1203 #define IDC_DETAILS 1204 -#define IDC_CLOSE 1300 - /* Network right click menu defines */ #define IDM_NETICON_CONTEXT_BASE 1400 #define IDM_NETICON_ENABLE (IDM_NETICON_CONTEXT_BASE + 0)