https://git.reactos.org/?p=reactos.git;a=commitdiff;h=0a8fb87d845482db5909fe...
commit 0a8fb87d845482db5909fe9034e0d5ebac8c5b3c Author: Katayama Hirofumi MZ katayama.hirofumi.mz@gmail.com AuthorDate: Fri Sep 25 15:32:58 2020 +0900 Commit: Katayama Hirofumi MZ katayama.hirofumi.mz@gmail.com CommitDate: Fri Sep 25 15:32:58 2020 +0900
[COMCTL32] IP Address controls follow-up of #3212 (3f30b1e)
The rightest field didn't work Left arrow key.
CORE-3479 --- dll/win32/comctl32/ipaddress.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/dll/win32/comctl32/ipaddress.c b/dll/win32/comctl32/ipaddress.c index 9f1b2c08c38..ece99e9a5d7 100644 --- a/dll/win32/comctl32/ipaddress.c +++ b/dll/win32/comctl32/ipaddress.c @@ -453,9 +453,6 @@ static BOOL IPADDRESS_GotoNextField (const IPADDRESS_INFO *infoPtr, int cur, int end = -1; SendMessageW(next->EditHwnd, EM_SETSEL, start, end); } -#ifdef __REACTOS__ - SetFocus(next->EditHwnd); -#endif return TRUE; }
@@ -599,8 +596,9 @@ IPADDRESS_SubclassProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) #ifdef __REACTOS__ case WM_GETDLGCODE: { - LRESULT ret = DefWindowProcW(hwnd, uMsg, wParam, lParam); - return ret | DLGC_WANTTAB; + LRESULT result = CallWindowProcW(part->OrigProc, hwnd, uMsg, wParam, lParam); + result |= DLGC_WANTALLKEYS | DLGC_WANTCHARS | DLGC_WANTTAB; + return result; } #endif }