https://git.reactos.org/?p=reactos.git;a=commitdiff;h=f908d37bb375acb608848…
commit f908d37bb375acb60884890a0c5b8401d582015a
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Sat Nov 19 08:42:20 2022 +0900
Commit: GitHub <noreply(a)github.com>
CommitDate: Sat Nov 19 08:42:20 2022 +0900
[REGEDIT] F4, Alt+D, Tab, and Shift+Tab (#4885)
CORE-12323
---
base/applications/regedit/framewnd.c | 14 ++++++++++++--
base/applications/regedit/lang/bg-BG.rc | 2 ++
base/applications/regedit/lang/cs-CZ.rc | 2 ++
base/applications/regedit/lang/de-DE.rc | 2 ++
base/applications/regedit/lang/el-GR.rc | 2 ++
base/applications/regedit/lang/en-US.rc | 2 ++
base/applications/regedit/lang/es-ES.rc | 2 ++
base/applications/regedit/lang/fr-FR.rc | 2 ++
base/applications/regedit/lang/he-IL.rc | 2 ++
base/applications/regedit/lang/hu-HU.rc | 2 ++
base/applications/regedit/lang/id-ID.rc | 2 ++
base/applications/regedit/lang/it-IT.rc | 2 ++
base/applications/regedit/lang/ja-JP.rc | 2 ++
base/applications/regedit/lang/ko-KR.rc | 2 ++
base/applications/regedit/lang/nl-NL.rc | 2 ++
base/applications/regedit/lang/no-NO.rc | 2 ++
base/applications/regedit/lang/pl-PL.rc | 2 ++
base/applications/regedit/lang/pt-BR.rc | 2 ++
base/applications/regedit/lang/pt-PT.rc | 2 ++
base/applications/regedit/lang/ro-RO.rc | 2 ++
base/applications/regedit/lang/ru-RU.rc | 2 ++
base/applications/regedit/lang/sk-SK.rc | 2 ++
base/applications/regedit/lang/sl-SI.rc | 2 ++
base/applications/regedit/lang/sq-AL.rc | 2 ++
base/applications/regedit/lang/sv-SE.rc | 2 ++
base/applications/regedit/lang/th-TH.rc | 2 ++
base/applications/regedit/lang/tr-TR.rc | 2 ++
base/applications/regedit/lang/uk-UA.rc | 2 ++
base/applications/regedit/lang/zh-CN.rc | 2 ++
base/applications/regedit/lang/zh-HK.rc | 2 ++
base/applications/regedit/lang/zh-TW.rc | 2 ++
base/applications/regedit/main.c | 2 +-
base/applications/regedit/resource.h | 1 +
33 files changed, 74 insertions(+), 3 deletions(-)
diff --git a/base/applications/regedit/framewnd.c b/base/applications/regedit/framewnd.c
index f608ab57149..e3d695a6728 100644
--- a/base/applications/regedit/framewnd.c
+++ b/base/applications/regedit/framewnd.c
@@ -1279,8 +1279,18 @@ static BOOL _CmdWndProc(HWND hWnd, UINT message, WPARAM wParam,
LPARAM lParam)
RegKeyEditPermissions(hWnd, hKeyRoot, NULL, keyPath);
break;
case ID_SWITCH_PANELS:
- g_pChildWnd->nFocusPanel = !g_pChildWnd->nFocusPanel;
- SetFocus(g_pChildWnd->nFocusPanel? g_pChildWnd->hListWnd:
g_pChildWnd->hTreeWnd);
+ {
+ BOOL bShiftDown = GetKeyState(VK_SHIFT) < 0;
+ HWND hwndItem = GetNextDlgTabItem(g_pChildWnd->hWnd, GetFocus(),
bShiftDown);
+ if (hwndItem == g_pChildWnd->hAddressBarWnd)
+ PostMessageW(hwndItem, EM_SETSEL, 0, -1);
+ SetFocus(hwndItem);
+ }
+ break;
+
+ case ID_ADDRESS_FOCUS:
+ SendMessageW(g_pChildWnd->hAddressBarWnd, EM_SETSEL, 0, -1);
+ SetFocus(g_pChildWnd->hAddressBarWnd);
break;
default:
diff --git a/base/applications/regedit/lang/bg-BG.rc
b/base/applications/regedit/lang/bg-BG.rc
index 854be85902f..96d43d1cd27 100644
--- a/base/applications/regedit/lang/bg-BG.rc
+++ b/base/applications/regedit/lang/bg-BG.rc
@@ -7,11 +7,13 @@ LANGUAGE LANG_BULGARIAN, SUBLANG_DEFAULT
ID_ACCEL ACCELERATORS
BEGIN
+ "D", ID_ADDRESS_FOCUS, VIRTKEY, ALT
VK_DELETE, ID_EDIT_DELETE, VIRTKEY, NOINVERT
"^F", ID_EDIT_FIND
VK_F1, ID_HELP_HELPTOPICS, VIRTKEY, NOINVERT
VK_F2, ID_EDIT_RENAME, VIRTKEY, NOINVERT
VK_F3, ID_EDIT_FINDNEXT, VIRTKEY, NOINVERT
+ VK_F4, ID_ADDRESS_FOCUS, VIRTKEY, NOINVERT
VK_F5, ID_VIEW_REFRESH, VIRTKEY, NOINVERT
END
diff --git a/base/applications/regedit/lang/cs-CZ.rc
b/base/applications/regedit/lang/cs-CZ.rc
index 21fe50adac9..477a5e00d9c 100644
--- a/base/applications/regedit/lang/cs-CZ.rc
+++ b/base/applications/regedit/lang/cs-CZ.rc
@@ -2,11 +2,13 @@ LANGUAGE LANG_CZECH, SUBLANG_DEFAULT
ID_ACCEL ACCELERATORS
BEGIN
+ "D", ID_ADDRESS_FOCUS, VIRTKEY, ALT
VK_DELETE, ID_EDIT_DELETE, VIRTKEY, NOINVERT
"^F", ID_EDIT_FIND
VK_F1, ID_HELP_HELPTOPICS, VIRTKEY, NOINVERT
VK_F2, ID_EDIT_RENAME, VIRTKEY, NOINVERT
VK_F3, ID_EDIT_FINDNEXT, VIRTKEY, NOINVERT
+ VK_F4, ID_ADDRESS_FOCUS, VIRTKEY, NOINVERT
VK_F5, ID_VIEW_REFRESH, VIRTKEY, NOINVERT
END
diff --git a/base/applications/regedit/lang/de-DE.rc
b/base/applications/regedit/lang/de-DE.rc
index 14051258156..f6d23a14570 100644
--- a/base/applications/regedit/lang/de-DE.rc
+++ b/base/applications/regedit/lang/de-DE.rc
@@ -2,11 +2,13 @@ LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL
ID_ACCEL ACCELERATORS
BEGIN
+ "D", ID_ADDRESS_FOCUS, VIRTKEY, ALT
VK_DELETE, ID_EDIT_DELETE, VIRTKEY, NOINVERT
"^F", ID_EDIT_FIND
VK_F1, ID_HELP_HELPTOPICS, VIRTKEY, NOINVERT
VK_F2, ID_EDIT_RENAME, VIRTKEY, NOINVERT
VK_F3, ID_EDIT_FINDNEXT, VIRTKEY, NOINVERT
+ VK_F4, ID_ADDRESS_FOCUS, VIRTKEY, NOINVERT
VK_F5, ID_VIEW_REFRESH, VIRTKEY, NOINVERT
END
diff --git a/base/applications/regedit/lang/el-GR.rc
b/base/applications/regedit/lang/el-GR.rc
index 5f016432c54..0c840b3662e 100644
--- a/base/applications/regedit/lang/el-GR.rc
+++ b/base/applications/regedit/lang/el-GR.rc
@@ -2,11 +2,13 @@ LANGUAGE LANG_GREEK, SUBLANG_DEFAULT
ID_ACCEL ACCELERATORS
BEGIN
+ "D", ID_ADDRESS_FOCUS, VIRTKEY, ALT
VK_DELETE, ID_EDIT_DELETE, VIRTKEY, NOINVERT
"^F", ID_EDIT_FIND
VK_F1, ID_HELP_HELPTOPICS, VIRTKEY, NOINVERT
VK_F2, ID_EDIT_RENAME, VIRTKEY, NOINVERT
VK_F3, ID_EDIT_FINDNEXT, VIRTKEY, NOINVERT
+ VK_F4, ID_ADDRESS_FOCUS, VIRTKEY, NOINVERT
VK_F5, ID_VIEW_REFRESH, VIRTKEY, NOINVERT
END
diff --git a/base/applications/regedit/lang/en-US.rc
b/base/applications/regedit/lang/en-US.rc
index 76c3635f8dc..c733468f1fc 100644
--- a/base/applications/regedit/lang/en-US.rc
+++ b/base/applications/regedit/lang/en-US.rc
@@ -2,11 +2,13 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
ID_ACCEL ACCELERATORS
BEGIN
+ "D", ID_ADDRESS_FOCUS, VIRTKEY, ALT
VK_DELETE, ID_EDIT_DELETE, VIRTKEY, NOINVERT
"^F", ID_EDIT_FIND
VK_F1, ID_HELP_HELPTOPICS, VIRTKEY, NOINVERT
VK_F2, ID_EDIT_RENAME, VIRTKEY, NOINVERT
VK_F3, ID_EDIT_FINDNEXT, VIRTKEY, NOINVERT
+ VK_F4, ID_ADDRESS_FOCUS, VIRTKEY, NOINVERT
VK_F5, ID_VIEW_REFRESH, VIRTKEY, NOINVERT
END
diff --git a/base/applications/regedit/lang/es-ES.rc
b/base/applications/regedit/lang/es-ES.rc
index e1ea9f54910..ab8ed5c0afd 100644
--- a/base/applications/regedit/lang/es-ES.rc
+++ b/base/applications/regedit/lang/es-ES.rc
@@ -5,11 +5,13 @@ LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL
ID_ACCEL ACCELERATORS
BEGIN
+ "D", ID_ADDRESS_FOCUS, VIRTKEY, ALT
VK_DELETE, ID_EDIT_DELETE, VIRTKEY, NOINVERT
"^F", ID_EDIT_FIND
VK_F1, ID_HELP_HELPTOPICS, VIRTKEY, NOINVERT
VK_F2, ID_EDIT_RENAME, VIRTKEY, NOINVERT
VK_F3, ID_EDIT_FINDNEXT, VIRTKEY, NOINVERT
+ VK_F4, ID_ADDRESS_FOCUS, VIRTKEY, NOINVERT
VK_F5, ID_VIEW_REFRESH, VIRTKEY, NOINVERT
END
diff --git a/base/applications/regedit/lang/fr-FR.rc
b/base/applications/regedit/lang/fr-FR.rc
index 9be278812e8..9db8d8ab118 100644
--- a/base/applications/regedit/lang/fr-FR.rc
+++ b/base/applications/regedit/lang/fr-FR.rc
@@ -2,11 +2,13 @@ LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL
ID_ACCEL ACCELERATORS
BEGIN
+ "D", ID_ADDRESS_FOCUS, VIRTKEY, ALT
VK_DELETE, ID_EDIT_DELETE, VIRTKEY, NOINVERT
"^F", ID_EDIT_FIND
VK_F1, ID_HELP_HELPTOPICS, VIRTKEY, NOINVERT
VK_F2, ID_EDIT_RENAME, VIRTKEY, NOINVERT
VK_F3, ID_EDIT_FINDNEXT, VIRTKEY, NOINVERT
+ VK_F4, ID_ADDRESS_FOCUS, VIRTKEY, NOINVERT
VK_F5, ID_VIEW_REFRESH, VIRTKEY, NOINVERT
END
diff --git a/base/applications/regedit/lang/he-IL.rc
b/base/applications/regedit/lang/he-IL.rc
index 2ed77b68c4b..31fbda0e42c 100644
--- a/base/applications/regedit/lang/he-IL.rc
+++ b/base/applications/regedit/lang/he-IL.rc
@@ -2,11 +2,13 @@ LANGUAGE LANG_HEBREW, SUBLANG_DEFAULT
ID_ACCEL ACCELERATORS
BEGIN
+ "D", ID_ADDRESS_FOCUS, VIRTKEY, ALT
VK_DELETE, ID_EDIT_DELETE, VIRTKEY, NOINVERT
"^F", ID_EDIT_FIND
VK_F1, ID_HELP_HELPTOPICS, VIRTKEY, NOINVERT
VK_F2, ID_EDIT_RENAME, VIRTKEY, NOINVERT
VK_F3, ID_EDIT_FINDNEXT, VIRTKEY, NOINVERT
+ VK_F4, ID_ADDRESS_FOCUS, VIRTKEY, NOINVERT
VK_F5, ID_VIEW_REFRESH, VIRTKEY, NOINVERT
END
diff --git a/base/applications/regedit/lang/hu-HU.rc
b/base/applications/regedit/lang/hu-HU.rc
index cf34fd50515..923cf80e9ff 100644
--- a/base/applications/regedit/lang/hu-HU.rc
+++ b/base/applications/regedit/lang/hu-HU.rc
@@ -2,11 +2,13 @@ LANGUAGE LANG_HUNGARIAN, SUBLANG_DEFAULT
ID_ACCEL ACCELERATORS
BEGIN
+ "D", ID_ADDRESS_FOCUS, VIRTKEY, ALT
VK_DELETE, ID_EDIT_DELETE, VIRTKEY, NOINVERT
"^F", ID_EDIT_FIND
VK_F1, ID_HELP_HELPTOPICS, VIRTKEY, NOINVERT
VK_F2, ID_EDIT_RENAME, VIRTKEY, NOINVERT
VK_F3, ID_EDIT_FINDNEXT, VIRTKEY, NOINVERT
+ VK_F4, ID_ADDRESS_FOCUS, VIRTKEY, NOINVERT
VK_F5, ID_VIEW_REFRESH, VIRTKEY, NOINVERT
END
diff --git a/base/applications/regedit/lang/id-ID.rc
b/base/applications/regedit/lang/id-ID.rc
index 0a05d82ff06..0d2ab2c0a1d 100644
--- a/base/applications/regedit/lang/id-ID.rc
+++ b/base/applications/regedit/lang/id-ID.rc
@@ -2,11 +2,13 @@ LANGUAGE LANG_INDONESIAN, SUBLANG_DEFAULT
ID_ACCEL ACCELERATORS
BEGIN
+ "D", ID_ADDRESS_FOCUS, VIRTKEY, ALT
VK_DELETE, ID_EDIT_DELETE, VIRTKEY, NOINVERT
"^F", ID_EDIT_FIND
VK_F1, ID_HELP_HELPTOPICS, VIRTKEY, NOINVERT
VK_F2, ID_EDIT_RENAME, VIRTKEY, NOINVERT
VK_F3, ID_EDIT_FINDNEXT, VIRTKEY, NOINVERT
+ VK_F4, ID_ADDRESS_FOCUS, VIRTKEY, NOINVERT
VK_F5, ID_VIEW_REFRESH, VIRTKEY, NOINVERT
END
diff --git a/base/applications/regedit/lang/it-IT.rc
b/base/applications/regedit/lang/it-IT.rc
index 6657986753a..6f7fd072280 100644
--- a/base/applications/regedit/lang/it-IT.rc
+++ b/base/applications/regedit/lang/it-IT.rc
@@ -2,11 +2,13 @@ LANGUAGE LANG_ITALIAN, SUBLANG_NEUTRAL
ID_ACCEL ACCELERATORS
BEGIN
+ "D", ID_ADDRESS_FOCUS, VIRTKEY, ALT
VK_DELETE, ID_EDIT_DELETE, VIRTKEY, NOINVERT
"^F", ID_EDIT_FIND
VK_F1, ID_HELP_HELPTOPICS, VIRTKEY, NOINVERT
VK_F2, ID_EDIT_RENAME, VIRTKEY, NOINVERT
VK_F3, ID_EDIT_FINDNEXT, VIRTKEY, NOINVERT
+ VK_F4, ID_ADDRESS_FOCUS, VIRTKEY, NOINVERT
VK_F5, ID_VIEW_REFRESH, VIRTKEY, NOINVERT
END
diff --git a/base/applications/regedit/lang/ja-JP.rc
b/base/applications/regedit/lang/ja-JP.rc
index b850ffc5c9a..e49b42a0d00 100644
--- a/base/applications/regedit/lang/ja-JP.rc
+++ b/base/applications/regedit/lang/ja-JP.rc
@@ -2,11 +2,13 @@ LANGUAGE LANG_JAPANESE, SUBLANG_DEFAULT
ID_ACCEL ACCELERATORS
BEGIN
+ "D", ID_ADDRESS_FOCUS, VIRTKEY, ALT
VK_DELETE, ID_EDIT_DELETE, VIRTKEY, NOINVERT
"^F", ID_EDIT_FIND
VK_F1, ID_HELP_HELPTOPICS, VIRTKEY, NOINVERT
VK_F2, ID_EDIT_RENAME, VIRTKEY, NOINVERT
VK_F3, ID_EDIT_FINDNEXT, VIRTKEY, NOINVERT
+ VK_F4, ID_ADDRESS_FOCUS, VIRTKEY, NOINVERT
VK_F5, ID_VIEW_REFRESH, VIRTKEY, NOINVERT
END
diff --git a/base/applications/regedit/lang/ko-KR.rc
b/base/applications/regedit/lang/ko-KR.rc
index 0d75c938bb4..d68d0ab9d84 100644
--- a/base/applications/regedit/lang/ko-KR.rc
+++ b/base/applications/regedit/lang/ko-KR.rc
@@ -4,11 +4,13 @@ LANGUAGE LANG_KOREAN, SUBLANG_DEFAULT
ID_ACCEL ACCELERATORS
BEGIN
+ "D", ID_ADDRESS_FOCUS, VIRTKEY, ALT
VK_DELETE, ID_EDIT_DELETE, VIRTKEY, NOINVERT
"^F", ID_EDIT_FIND
VK_F1, ID_HELP_HELPTOPICS, VIRTKEY, NOINVERT
VK_F2, ID_EDIT_RENAME, VIRTKEY, NOINVERT
VK_F3, ID_EDIT_FINDNEXT, VIRTKEY, NOINVERT
+ VK_F4, ID_ADDRESS_FOCUS, VIRTKEY, NOINVERT
VK_F5, ID_VIEW_REFRESH, VIRTKEY, NOINVERT
END
diff --git a/base/applications/regedit/lang/nl-NL.rc
b/base/applications/regedit/lang/nl-NL.rc
index 21897461b84..455a615b57e 100644
--- a/base/applications/regedit/lang/nl-NL.rc
+++ b/base/applications/regedit/lang/nl-NL.rc
@@ -2,11 +2,13 @@ LANGUAGE LANG_DUTCH, SUBLANG_NEUTRAL
ID_ACCEL ACCELERATORS
BEGIN
+ "D", ID_ADDRESS_FOCUS, VIRTKEY, ALT
VK_DELETE, ID_EDIT_DELETE, VIRTKEY, NOINVERT
"^F", ID_EDIT_FIND
VK_F1, ID_HELP_HELPTOPICS, VIRTKEY, NOINVERT
VK_F2, ID_EDIT_RENAME, VIRTKEY, NOINVERT
VK_F3, ID_EDIT_FINDNEXT, VIRTKEY, NOINVERT
+ VK_F4, ID_ADDRESS_FOCUS, VIRTKEY, NOINVERT
VK_F5, ID_VIEW_REFRESH, VIRTKEY, NOINVERT
END
diff --git a/base/applications/regedit/lang/no-NO.rc
b/base/applications/regedit/lang/no-NO.rc
index 1c2d08a00ce..4f946548851 100644
--- a/base/applications/regedit/lang/no-NO.rc
+++ b/base/applications/regedit/lang/no-NO.rc
@@ -2,11 +2,13 @@ LANGUAGE LANG_NORWEGIAN, SUBLANG_NEUTRAL
ID_ACCEL ACCELERATORS
BEGIN
+ "D", ID_ADDRESS_FOCUS, VIRTKEY, ALT
VK_DELETE, ID_EDIT_DELETE, VIRTKEY, NOINVERT
"^F", ID_EDIT_FIND
VK_F1, ID_HELP_HELPTOPICS, VIRTKEY, NOINVERT
VK_F2, ID_EDIT_RENAME, VIRTKEY, NOINVERT
VK_F3, ID_EDIT_FINDNEXT, VIRTKEY, NOINVERT
+ VK_F4, ID_ADDRESS_FOCUS, VIRTKEY, NOINVERT
VK_F5, ID_VIEW_REFRESH, VIRTKEY, NOINVERT
END
diff --git a/base/applications/regedit/lang/pl-PL.rc
b/base/applications/regedit/lang/pl-PL.rc
index fc42f95ebcb..fbff2d011c8 100644
--- a/base/applications/regedit/lang/pl-PL.rc
+++ b/base/applications/regedit/lang/pl-PL.rc
@@ -12,11 +12,13 @@ LANGUAGE LANG_POLISH, SUBLANG_DEFAULT
ID_ACCEL ACCELERATORS
BEGIN
+ "D", ID_ADDRESS_FOCUS, VIRTKEY, ALT
VK_DELETE, ID_EDIT_DELETE, VIRTKEY, NOINVERT
"^F", ID_EDIT_FIND
VK_F1, ID_HELP_HELPTOPICS, VIRTKEY, NOINVERT
VK_F2, ID_EDIT_RENAME, VIRTKEY, NOINVERT
VK_F3, ID_EDIT_FINDNEXT, VIRTKEY, NOINVERT
+ VK_F4, ID_ADDRESS_FOCUS, VIRTKEY, NOINVERT
VK_F5, ID_VIEW_REFRESH, VIRTKEY, NOINVERT
END
diff --git a/base/applications/regedit/lang/pt-BR.rc
b/base/applications/regedit/lang/pt-BR.rc
index 4c91129d37f..8f501039601 100644
--- a/base/applications/regedit/lang/pt-BR.rc
+++ b/base/applications/regedit/lang/pt-BR.rc
@@ -2,11 +2,13 @@ LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE_BRAZILIAN
ID_ACCEL ACCELERATORS
BEGIN
+ "D", ID_ADDRESS_FOCUS, VIRTKEY, ALT
VK_DELETE, ID_EDIT_DELETE, VIRTKEY, NOINVERT
"^F", ID_EDIT_FIND
VK_F1, ID_HELP_HELPTOPICS, VIRTKEY, NOINVERT
VK_F2, ID_EDIT_RENAME, VIRTKEY, NOINVERT
VK_F3, ID_EDIT_FINDNEXT, VIRTKEY, NOINVERT
+ VK_F4, ID_ADDRESS_FOCUS, VIRTKEY, NOINVERT
VK_F5, ID_VIEW_REFRESH, VIRTKEY, NOINVERT
END
diff --git a/base/applications/regedit/lang/pt-PT.rc
b/base/applications/regedit/lang/pt-PT.rc
index 61d5e3f0994..fddef2f9c3e 100644
--- a/base/applications/regedit/lang/pt-PT.rc
+++ b/base/applications/regedit/lang/pt-PT.rc
@@ -2,11 +2,13 @@ LANGUAGE LANG_PORTUGUESE, SUBLANG_NEUTRAL
ID_ACCEL ACCELERATORS
BEGIN
+ "D", ID_ADDRESS_FOCUS, VIRTKEY, ALT
VK_DELETE, ID_EDIT_DELETE, VIRTKEY, NOINVERT
"^F", ID_EDIT_FIND
VK_F1, ID_HELP_HELPTOPICS, VIRTKEY, NOINVERT
VK_F2, ID_EDIT_RENAME, VIRTKEY, NOINVERT
VK_F3, ID_EDIT_FINDNEXT, VIRTKEY, NOINVERT
+ VK_F4, ID_ADDRESS_FOCUS, VIRTKEY, NOINVERT
VK_F5, ID_VIEW_REFRESH, VIRTKEY, NOINVERT
END
diff --git a/base/applications/regedit/lang/ro-RO.rc
b/base/applications/regedit/lang/ro-RO.rc
index 4cbdb719259..d746d684545 100644
--- a/base/applications/regedit/lang/ro-RO.rc
+++ b/base/applications/regedit/lang/ro-RO.rc
@@ -4,11 +4,13 @@ LANGUAGE LANG_ROMANIAN, SUBLANG_NEUTRAL
ID_ACCEL ACCELERATORS
BEGIN
+ "D", ID_ADDRESS_FOCUS, VIRTKEY, ALT
VK_DELETE, ID_EDIT_DELETE, VIRTKEY, NOINVERT
"^F", ID_EDIT_FIND
VK_F1, ID_HELP_HELPTOPICS, VIRTKEY, NOINVERT
VK_F2, ID_EDIT_RENAME, VIRTKEY, NOINVERT
VK_F3, ID_EDIT_FINDNEXT, VIRTKEY, NOINVERT
+ VK_F4, ID_ADDRESS_FOCUS, VIRTKEY, NOINVERT
VK_F5, ID_VIEW_REFRESH, VIRTKEY, NOINVERT
END
diff --git a/base/applications/regedit/lang/ru-RU.rc
b/base/applications/regedit/lang/ru-RU.rc
index 97489d19d6d..6a13e2b0577 100644
--- a/base/applications/regedit/lang/ru-RU.rc
+++ b/base/applications/regedit/lang/ru-RU.rc
@@ -2,11 +2,13 @@ LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
ID_ACCEL ACCELERATORS
BEGIN
+ "D", ID_ADDRESS_FOCUS, VIRTKEY, ALT
VK_DELETE, ID_EDIT_DELETE, VIRTKEY, NOINVERT
"^F", ID_EDIT_FIND
VK_F1, ID_HELP_HELPTOPICS, VIRTKEY, NOINVERT
VK_F2, ID_EDIT_RENAME, VIRTKEY, NOINVERT
VK_F3, ID_EDIT_FINDNEXT, VIRTKEY, NOINVERT
+ VK_F4, ID_ADDRESS_FOCUS, VIRTKEY, NOINVERT
VK_F5, ID_VIEW_REFRESH, VIRTKEY, NOINVERT
END
diff --git a/base/applications/regedit/lang/sk-SK.rc
b/base/applications/regedit/lang/sk-SK.rc
index 3b5602125f6..5f453c80f5c 100644
--- a/base/applications/regedit/lang/sk-SK.rc
+++ b/base/applications/regedit/lang/sk-SK.rc
@@ -7,11 +7,13 @@ LANGUAGE LANG_SLOVAK, SUBLANG_DEFAULT
ID_ACCEL ACCELERATORS
BEGIN
+ "D", ID_ADDRESS_FOCUS, VIRTKEY, ALT
VK_DELETE, ID_EDIT_DELETE, VIRTKEY, NOINVERT
"^F", ID_EDIT_FIND
VK_F1, ID_HELP_HELPTOPICS, VIRTKEY, NOINVERT
VK_F2, ID_EDIT_RENAME, VIRTKEY, NOINVERT
VK_F3, ID_EDIT_FINDNEXT, VIRTKEY, NOINVERT
+ VK_F4, ID_ADDRESS_FOCUS, VIRTKEY, NOINVERT
VK_F5, ID_VIEW_REFRESH, VIRTKEY, NOINVERT
END
diff --git a/base/applications/regedit/lang/sl-SI.rc
b/base/applications/regedit/lang/sl-SI.rc
index d519d24b590..4d8d89eb17f 100644
--- a/base/applications/regedit/lang/sl-SI.rc
+++ b/base/applications/regedit/lang/sl-SI.rc
@@ -2,11 +2,13 @@ LANGUAGE LANG_SLOVENIAN, SUBLANG_DEFAULT
ID_ACCEL ACCELERATORS
BEGIN
+ "D", ID_ADDRESS_FOCUS, VIRTKEY, ALT
VK_DELETE, ID_EDIT_DELETE, VIRTKEY, NOINVERT
"^F", ID_EDIT_FIND
VK_F1, ID_HELP_HELPTOPICS, VIRTKEY, NOINVERT
VK_F2, ID_EDIT_RENAME, VIRTKEY, NOINVERT
VK_F3, ID_EDIT_FINDNEXT, VIRTKEY, NOINVERT
+ VK_F4, ID_ADDRESS_FOCUS, VIRTKEY, NOINVERT
VK_F5, ID_VIEW_REFRESH, VIRTKEY, NOINVERT
END
diff --git a/base/applications/regedit/lang/sq-AL.rc
b/base/applications/regedit/lang/sq-AL.rc
index d6192aae15f..280814c024e 100644
--- a/base/applications/regedit/lang/sq-AL.rc
+++ b/base/applications/regedit/lang/sq-AL.rc
@@ -6,11 +6,13 @@ LANGUAGE LANG_ALBANIAN, SUBLANG_NEUTRAL
ID_ACCEL ACCELERATORS
BEGIN
+ "D", ID_ADDRESS_FOCUS, VIRTKEY, ALT
VK_DELETE, ID_EDIT_DELETE, VIRTKEY, NOINVERT
"^F", ID_EDIT_FIND
VK_F1, ID_HELP_HELPTOPICS, VIRTKEY, NOINVERT
VK_F2, ID_EDIT_RENAME, VIRTKEY, NOINVERT
VK_F3, ID_EDIT_FINDNEXT, VIRTKEY, NOINVERT
+ VK_F4, ID_ADDRESS_FOCUS, VIRTKEY, NOINVERT
VK_F5, ID_VIEW_REFRESH, VIRTKEY, NOINVERT
END
diff --git a/base/applications/regedit/lang/sv-SE.rc
b/base/applications/regedit/lang/sv-SE.rc
index 315cf46c7b9..7df2fca17b6 100644
--- a/base/applications/regedit/lang/sv-SE.rc
+++ b/base/applications/regedit/lang/sv-SE.rc
@@ -2,11 +2,13 @@ LANGUAGE LANG_SWEDISH, SUBLANG_NEUTRAL
ID_ACCEL ACCELERATORS
BEGIN
+ "D", ID_ADDRESS_FOCUS, VIRTKEY, ALT
VK_DELETE, ID_EDIT_DELETE, VIRTKEY, NOINVERT
"^F", ID_EDIT_FIND
VK_F1, ID_HELP_HELPTOPICS, VIRTKEY, NOINVERT
VK_F2, ID_EDIT_RENAME, VIRTKEY, NOINVERT
VK_F3, ID_EDIT_FINDNEXT, VIRTKEY, NOINVERT
+ VK_F4, ID_ADDRESS_FOCUS, VIRTKEY, NOINVERT
VK_F5, ID_VIEW_REFRESH, VIRTKEY, NOINVERT
END
diff --git a/base/applications/regedit/lang/th-TH.rc
b/base/applications/regedit/lang/th-TH.rc
index 0f1c3815171..2b7d63f609f 100644
--- a/base/applications/regedit/lang/th-TH.rc
+++ b/base/applications/regedit/lang/th-TH.rc
@@ -4,11 +4,13 @@ LANGUAGE LANG_THAI, SUBLANG_DEFAULT
ID_ACCEL ACCELERATORS
BEGIN
+ "D", ID_ADDRESS_FOCUS, VIRTKEY, ALT
VK_DELETE, ID_EDIT_DELETE, VIRTKEY, NOINVERT
"^F", ID_EDIT_FIND
VK_F1, ID_HELP_HELPTOPICS, VIRTKEY, NOINVERT
VK_F2, ID_EDIT_RENAME, VIRTKEY, NOINVERT
VK_F3, ID_EDIT_FINDNEXT, VIRTKEY, NOINVERT
+ VK_F4, ID_ADDRESS_FOCUS, VIRTKEY, NOINVERT
VK_F5, ID_VIEW_REFRESH, VIRTKEY, NOINVERT
END
diff --git a/base/applications/regedit/lang/tr-TR.rc
b/base/applications/regedit/lang/tr-TR.rc
index 7f2a968d327..da5f6fded08 100644
--- a/base/applications/regedit/lang/tr-TR.rc
+++ b/base/applications/regedit/lang/tr-TR.rc
@@ -4,11 +4,13 @@ LANGUAGE LANG_TURKISH, SUBLANG_DEFAULT
ID_ACCEL ACCELERATORS
BEGIN
+ "D", ID_ADDRESS_FOCUS, VIRTKEY, ALT
VK_DELETE, ID_EDIT_DELETE, VIRTKEY, NOINVERT
"^F", ID_EDIT_FIND
VK_F1, ID_HELP_HELPTOPICS, VIRTKEY, NOINVERT
VK_F2, ID_EDIT_RENAME, VIRTKEY, NOINVERT
VK_F3, ID_EDIT_FINDNEXT, VIRTKEY, NOINVERT
+ VK_F4, ID_ADDRESS_FOCUS, VIRTKEY, NOINVERT
VK_F5, ID_VIEW_REFRESH, VIRTKEY, NOINVERT
END
diff --git a/base/applications/regedit/lang/uk-UA.rc
b/base/applications/regedit/lang/uk-UA.rc
index 15a3b1ceb32..1ec8de53702 100644
--- a/base/applications/regedit/lang/uk-UA.rc
+++ b/base/applications/regedit/lang/uk-UA.rc
@@ -4,11 +4,13 @@ LANGUAGE LANG_UKRAINIAN, SUBLANG_DEFAULT
ID_ACCEL ACCELERATORS
BEGIN
+ "D", ID_ADDRESS_FOCUS, VIRTKEY, ALT
VK_DELETE, ID_EDIT_DELETE, VIRTKEY, NOINVERT
"^F", ID_EDIT_FIND
VK_F1, ID_HELP_HELPTOPICS, VIRTKEY, NOINVERT
VK_F2, ID_EDIT_RENAME, VIRTKEY, NOINVERT
VK_F3, ID_EDIT_FINDNEXT, VIRTKEY, NOINVERT
+ VK_F4, ID_ADDRESS_FOCUS, VIRTKEY, NOINVERT
VK_F5, ID_VIEW_REFRESH, VIRTKEY, NOINVERT
END
diff --git a/base/applications/regedit/lang/zh-CN.rc
b/base/applications/regedit/lang/zh-CN.rc
index 6380d8a413b..3250830dc0e 100644
--- a/base/applications/regedit/lang/zh-CN.rc
+++ b/base/applications/regedit/lang/zh-CN.rc
@@ -12,11 +12,13 @@ LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
ID_ACCEL ACCELERATORS
BEGIN
+ "D", ID_ADDRESS_FOCUS, VIRTKEY, ALT
VK_DELETE, ID_EDIT_DELETE, VIRTKEY, NOINVERT
"^F", ID_EDIT_FIND
VK_F1, ID_HELP_HELPTOPICS, VIRTKEY, NOINVERT
VK_F2, ID_EDIT_RENAME, VIRTKEY, NOINVERT
VK_F3, ID_EDIT_FINDNEXT, VIRTKEY, NOINVERT
+ VK_F4, ID_ADDRESS_FOCUS, VIRTKEY, NOINVERT
VK_F5, ID_VIEW_REFRESH, VIRTKEY, NOINVERT
END
diff --git a/base/applications/regedit/lang/zh-HK.rc
b/base/applications/regedit/lang/zh-HK.rc
index 5f75641857f..0ec044875ae 100644
--- a/base/applications/regedit/lang/zh-HK.rc
+++ b/base/applications/regedit/lang/zh-HK.rc
@@ -10,11 +10,13 @@ LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_HONGKONG
ID_ACCEL ACCELERATORS
BEGIN
+ "D", ID_ADDRESS_FOCUS, VIRTKEY, ALT
VK_DELETE, ID_EDIT_DELETE, VIRTKEY, NOINVERT
"^F", ID_EDIT_FIND
VK_F1, ID_HELP_HELPTOPICS, VIRTKEY, NOINVERT
VK_F2, ID_EDIT_RENAME, VIRTKEY, NOINVERT
VK_F3, ID_EDIT_FINDNEXT, VIRTKEY, NOINVERT
+ VK_F4, ID_ADDRESS_FOCUS, VIRTKEY, NOINVERT
VK_F5, ID_VIEW_REFRESH, VIRTKEY, NOINVERT
END
diff --git a/base/applications/regedit/lang/zh-TW.rc
b/base/applications/regedit/lang/zh-TW.rc
index 8dff53ad18a..db2d11e39a5 100644
--- a/base/applications/regedit/lang/zh-TW.rc
+++ b/base/applications/regedit/lang/zh-TW.rc
@@ -11,11 +11,13 @@ LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL
ID_ACCEL ACCELERATORS
BEGIN
+ "D", ID_ADDRESS_FOCUS, VIRTKEY, ALT
VK_DELETE, ID_EDIT_DELETE, VIRTKEY, NOINVERT
"^F", ID_EDIT_FIND
VK_F1, ID_HELP_HELPTOPICS, VIRTKEY, NOINVERT
VK_F2, ID_EDIT_RENAME, VIRTKEY, NOINVERT
VK_F3, ID_EDIT_FINDNEXT, VIRTKEY, NOINVERT
+ VK_F4, ID_ADDRESS_FOCUS, VIRTKEY, NOINVERT
VK_F5, ID_VIEW_REFRESH, VIRTKEY, NOINVERT
END
diff --git a/base/applications/regedit/main.c b/base/applications/regedit/main.c
index 2d2a3fa1fdf..c762d6521dd 100644
--- a/base/applications/regedit/main.c
+++ b/base/applications/regedit/main.c
@@ -191,7 +191,7 @@ BOOL TranslateChildTabMessage(PMSG msg)
if (msg->wParam != VK_TAB) return FALSE;
if (GetParent(msg->hwnd) != g_pChildWnd->hWnd) return FALSE;
- PostMessageW(g_pChildWnd->hWnd, WM_COMMAND, ID_SWITCH_PANELS, 0);
+ PostMessageW(hFrameWnd, WM_COMMAND, ID_SWITCH_PANELS, 0);
return TRUE;
}
diff --git a/base/applications/regedit/resource.h b/base/applications/regedit/resource.h
index dd39001ac1c..933a8a03420 100644
--- a/base/applications/regedit/resource.h
+++ b/base/applications/regedit/resource.h
@@ -157,6 +157,7 @@
#define ID_TREE_SUGGESTION_MAX 32887
#define ID_TREE_EXPORT 32888
#define ID_TREE_PERMISSIONS 32889
+#define ID_ADDRESS_FOCUS 32890
#define IDS_FLT_REGFILE 31000
#define IDS_FLT_REGFILES 31001