Katayama Hirofumi MZ
8f2c2c1def
[COMCTL32][USER32] EDIT: Fix caret position for IME
...
CORE-11700
2023-04-10 08:27:50 +09:00
Katayama Hirofumi MZ
66c8ded454
[COMCTL32][USER32] EDIT: CompForm and CandForm ( #5226 )
...
The changes of this PR are on EDIT controls.
- Delete composition_len and composition_start members.
- Add EDIT_ImmSetCompositionWindow helper function.
- At EDIT_SetCaretPos, set the position of the composition window.
- We don't use internal composition string. Rely on the composition window.
- Improve WM_IME_STARTCOMPOSITION, WM_IME_COMPOSITION and WM_IME_ENDCOMPOSITION message handling.
CORE-11700
2023-04-09 15:19:19 +09:00
Katayama Hirofumi MZ
2b356adbc5
[COMCTL32][USER32] EDIT: WM_SETFONT for IME ( #5214 )
...
- Call ImmSetCompositionFontW in WM_SETFONT handling of EDIT controls if necessary.
- If the specified font is NULL, then use DEFAULT_GUI_FONT.
CORE-11700
2023-04-04 19:09:21 +09:00
Katayama Hirofumi MZ
6d650bfc8f
[COMCTL32][USER32] WM_IME_CHAR: Rely on DefWindowProc... ( #5191 )
...
Use DefWindowProc... for WM_IME_CHAR handling. CORE-15289, CORE-11700
2023-03-27 19:42:47 +09:00
Katayama Hirofumi MZ
8d26b03775
[COMCTL32][USER32] EDIT: Half-implement WM_IME_SETCONTEXT handling ( #5182 )
...
Add WM_IME_SETCONTEXT handling to the window procedure of the EDIT control. CORE-11700, CORE-15289
2023-03-23 12:24:40 +09:00
Katayama Hirofumi MZ
b25daf4b56
[COMCTL32][USER32] EDIT: Half-implement WM_IME_STARTCOMPOSITION ( #5183 )
...
Improve WM_IME_STARTCOMPOSITION handling in the window procedure of the EDIT control. CORE-15289, CORE-11700
2023-03-23 12:24:00 +09:00
Katayama Hirofumi MZ
be518f9f5a
[COMCTL32][USER32] EDIT: Default processing on WM_IME_SELECT/WM_IME_CONTROL ( #5173 )
...
Do default processing on WM_IME_SELECT and WM_IME_CONTROL messages in EDIT controls. CORE-11700, CORE-15289
2023-03-22 09:09:38 +09:00
Thomas Faber
8e0c920fd2
[WINESYNC] user32/edit: Allow buffer access after EM_GETHANDLE.
...
wine commit id f62d8dc58fb3fb5f11a8ab55620ab9b2fbdaf967 by Nikolay Sivov <nsivov@codeweavers.com>
2023-03-07 21:48:06 -05:00
Mark Jansen
76753cd342
[USER32] Fix edit UAF by importing wine commit b40ddf42370e8344a862fbbc40384678db3871a9
2023-02-25 23:41:41 +01:00
Jose Carlos Jesus
a3eda784a5
[COMCTL32] Don't hardcode dwCaretWidth parameter while calling CreateCaret
...
Also replace 0 with NULL for the second argument of the function call.
CORE-18151
2022-10-12 22:12:19 +03:00
Jose Carlos Jesus
9789e9c409
[COMCTL32] Read caret width from registry
...
Add caret width value to EDITSTATE structure.
To keep the same behavior as Windows Server 2003,
we need to update dwCaretWidth when EDIT_WM_SetFocus is called.
CORE-18151
2022-10-12 22:12:19 +03:00
Katayama Hirofumi MZ
fbab1914a6
[USER32] Don't delay-load-link to imm32.dll ( #4328 )
...
Reduce binary size.
- Don't directly call the IMM32 functions. Use IMM_FN instead.
- Modify CMakeLists.txt to unlink imm32.dll.
CORE-11700
2022-01-31 09:30:47 +09:00
Serge Gautherie
c2dbc18660
[USER32] EDIT_WM_KillFocus(): Restore Wine code, #ifdef'ed out
...
Use '#ifdef __REACTOS__' for WINESYNC'ed code.
Partially reverts 71ab0b5d4c
.
CORE-10266
2020-04-26 17:48:41 +02:00
Hermès Bélusca-Maïto
b596a2cc31
[USER32] Fix crash in Edit control. CORE-16727
...
The #ifdef prevents setting the variable, es, to NULL, which lead to an illegal access.
This didn't match dll/comctl32/edit.c .
Patch by 'I_Kill_Bugs' contributor.
2020-03-06 20:02:03 +01:00
Stanislav Motylkov
36230bb214
[USER32] Edit: Fix caret and scroll position
...
Based on patch by JIRA contributor 'I_Kill_Bugs'. CORE-15780
2019-03-24 23:26:20 +01:00
Stanislav Motylkov
40dab7d5e5
[USER32] Edit: Fix rectangle overflow when inserting characters
...
Based on patch by JIRA contributor 'I_Kill_Bugs'. CORE-11475
2019-03-23 15:52:43 +01:00
Manuel Bachmann
71ab0b5d4c
[NTDLL][NTUSER] Fix unselected text after WM_CBLOSTTEXTFOCUS
...
When we unselect text after the WM_CBLOSTTEXTFOCUS message,
make sure we also forget we have been focused at all;
otherwise the edit may become focused again, but with an
empty text selection.
CORE-10266
2018-08-19 14:24:34 +02:00
Amine Khaldi
3d93998d6e
[USER32] Add wine/debug.h to the PCH and remove an unneeded wine/unicode.h inclusion.
2017-12-23 23:42:40 +01:00
Colin Finck
c2c66aff7d
Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys.
2017-10-03 07:45:34 +00:00