Skip to content

Commit 7122f83

Browse files
committed
[NETSHELL] Improve usability by keyboard
- Allow exiting from "Network Connection Details" dialog with Enter (using DEFPUSHBUTTON), Esc and Alt+F4 (using IDCANCEL) - Add extended style LVS_EX_FULLROWSELECT to the listview, as in Windows - Minor code rearrange, removing one obvious comment CORE-12323
1 parent 096c0aa commit 7122f83

30 files changed

Lines changed: 31 additions & 34 deletions

‎dll/shellext/netshell/lang/bg-BG.rc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ FONT 8, "MS Shell Dlg"
7373
BEGIN
7474
LTEXT "По&дробности за мрежовото свързване:", -1, 10, 4, 170, 12
7575
CONTROL "", IDC_DETAILS, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 10, 15, 170, 130
76-
PUSHBUTTON "&Затваряне", IDC_CLOSE, 120, 155, 60, 14
76+
DEFPUSHBUTTON "&Затваряне", IDCANCEL, 120, 155, 60, 14
7777
END
7878

7979
IDD_NETWORKINITPAGE DIALOGEX 0, 0, 317, 143

‎dll/shellext/netshell/lang/cs-CZ.rc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ FONT 8, "MS Shell Dlg"
7373
BEGIN
7474
LTEXT "&Podrobnosti síťového připojení:", -1, 10, 4, 170, 12
7575
CONTROL "", IDC_DETAILS, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 10, 15, 170, 130
76-
PUSHBUTTON "&zavřít", IDC_CLOSE, 120, 155, 60, 14
76+
DEFPUSHBUTTON "&Zavřít", IDCANCEL, 120, 155, 60, 14
7777
END
7878

7979
IDD_NETWORKINITPAGE DIALOGEX 0, 0, 317, 143

‎dll/shellext/netshell/lang/da-DK.rc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ FONT 8, "MS Shell Dlg"
7373
BEGIN
7474
LTEXT "Network Connection &Details:", -1, 10, 4, 170, 12
7575
CONTROL "", IDC_DETAILS, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 10, 15, 170, 130
76-
PUSHBUTTON "&Close", IDC_CLOSE, 120, 155, 60, 14
76+
DEFPUSHBUTTON "&Close", IDCANCEL, 120, 155, 60, 14
7777
END
7878

7979
IDD_NETWORKINITPAGE DIALOGEX 0, 0, 317, 143

‎dll/shellext/netshell/lang/de-DE.rc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ FONT 8, "MS Shell Dlg"
7373
BEGIN
7474
LTEXT "Netzwerkverbindungs&details:", -1, 10, 4, 170, 12
7575
CONTROL "", IDC_DETAILS, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 10, 15, 170, 130
76-
PUSHBUTTON "&Schließen", IDC_CLOSE, 120, 155, 60, 14
76+
DEFPUSHBUTTON "&Schließen", IDCANCEL, 120, 155, 60, 14
7777
END
7878

7979
IDD_NETWORKINITPAGE DIALOGEX 0, 0, 317, 143

‎dll/shellext/netshell/lang/el-GR.rc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ FONT 8, "MS Shell Dlg"
7373
BEGIN
7474
LTEXT "Network Connection &Details:", -1, 10, 4, 170, 12
7575
CONTROL "", IDC_DETAILS, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 10, 15, 170, 130
76-
PUSHBUTTON "&Close", IDC_CLOSE, 120, 155, 60, 14
76+
DEFPUSHBUTTON "&Close", IDCANCEL, 120, 155, 60, 14
7777
END
7878

7979
IDD_NETWORKINITPAGE DIALOGEX 0, 0, 317, 143

‎dll/shellext/netshell/lang/en-US.rc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ FONT 8, "MS Shell Dlg"
7373
BEGIN
7474
LTEXT "Network Connection &Details:", -1, 10, 4, 170, 12
7575
CONTROL "", IDC_DETAILS, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 10, 15, 170, 130
76-
PUSHBUTTON "&Close", IDC_CLOSE, 120, 155, 60, 14
76+
DEFPUSHBUTTON "&Close", IDCANCEL, 120, 155, 60, 14
7777
END
7878

7979
IDD_NETWORKINITPAGE DIALOGEX 0, 0, 317, 143

‎dll/shellext/netshell/lang/es-ES.rc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ FONT 8, "MS Shell Dlg"
8181
BEGIN
8282
LTEXT "&Detalles de la conexión de red:", -1, 10, 4, 170, 12
8383
CONTROL "", IDC_DETAILS, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 10, 15, 170, 130
84-
PUSHBUTTON "&Cerrar", IDC_CLOSE, 120, 155, 60, 14
84+
DEFPUSHBUTTON "&Cerrar", IDCANCEL, 120, 155, 60, 14
8585
END
8686

8787
IDD_NETWORKINITPAGE DIALOGEX 0, 0, 317, 143

‎dll/shellext/netshell/lang/fr-FR.rc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ FONT 8, "MS Shell Dlg"
7373
BEGIN
7474
LTEXT "&Détails de connexion réseau :", -1, 10, 4, 170, 12
7575
CONTROL "", IDC_DETAILS, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 10, 15, 170, 130
76-
PUSHBUTTON "Fermer", IDC_CLOSE, 120, 155, 60, 14
76+
DEFPUSHBUTTON "&Fermer", IDCANCEL, 120, 155, 60, 14
7777
END
7878

7979
IDD_NETWORKINITPAGE DIALOGEX 0, 0, 317, 143

‎dll/shellext/netshell/lang/he-IL.rc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ FONT 8, "MS Shell Dlg"
7373
BEGIN
7474
LTEXT "מאפייני חיבור הרשת:", -1, 10, 4, 170, 12
7575
CONTROL "", IDC_DETAILS, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 10, 15, 170, 130
76-
PUSHBUTTON "סגור", IDC_CLOSE, 120, 155, 60, 14
76+
DEFPUSHBUTTON "&סגור", IDCANCEL, 120, 155, 60, 14
7777
END
7878

7979
IDD_NETWORKINITPAGE DIALOGEX 0, 0, 317, 143

‎dll/shellext/netshell/lang/hi-IN.rc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ FONT 8, "MS Shell Dlg"
7979
BEGIN
8080
LTEXT "नेटवर्क कनेक्शन &विवरण:", -1, 10, 4, 170, 12
8181
CONTROL "", IDC_DETAILS, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP, 10, 15, 170, 130
82-
PUSHBUTTON "&बंद करे", IDC_CLOSE, 120, 155, 60, 14
82+
DEFPUSHBUTTON "&बंद करे", IDCANCEL, 120, 155, 60, 14
8383
END
8484

8585
IDD_NETWORKINITPAGE DIALOGEX 0, 0, 317, 143

0 commit comments

Comments
 (0)