mirror of
https://github.com/reactos/reactos.git
synced 2024-11-28 05:53:31 +08:00
The rightest field didn't work Left arrow key. CORE-3479
This commit is contained in:
parent
b9754fa5d6
commit
0a8fb87d84
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user