=?UTF-8?Q?Gabriel=20Iv=C4=83ncescu=20?=: shell32/autocomplete: Handle more messages for autocompletion.
Alexandre Julliard
julliard at winehq.org
Fri Sep 21 17:04:30 CDT 2018
Module: wine
Branch: master
Commit: a2cb1ab0b3b1c3304de7fbc6fd091b114535fffb
URL: https://source.winehq.org/git/wine.git/?a=commit;h=a2cb1ab0b3b1c3304de7fbc6fd091b114535fffb
Author: Gabriel Ivăncescu <gabrielopcode at gmail.com>
Date: Thu Sep 20 14:55:35 2018 +0300
shell32/autocomplete: Handle more messages for autocompletion.
The user can right-click on the editbox control and choose one of these
operations, so they need to be handled separately regardless.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode at gmail.com>
Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/shell32/autocomplete.c | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/dlls/shell32/autocomplete.c b/dlls/shell32/autocomplete.c
index 0471146..40e0866 100644
--- a/dlls/shell32/autocomplete.c
+++ b/dlls/shell32/autocomplete.c
@@ -363,6 +363,16 @@ static LRESULT APIENTRY ACEditSubclassProc(HWND hwnd, UINT uMsg, WPARAM wParam,
autocomplete_text(This, hwnd, (This->options & ACO_AUTOAPPEND) && wParam >= ' '
? autoappend_flag_yes : autoappend_flag_no);
return ret;
+ case WM_CUT:
+ case WM_CLEAR:
+ case WM_UNDO:
+ ret = CallWindowProcW(This->wpOrigEditProc, hwnd, uMsg, wParam, lParam);
+ autocomplete_text(This, hwnd, autoappend_flag_no);
+ return ret;
+ case WM_PASTE:
+ ret = CallWindowProcW(This->wpOrigEditProc, hwnd, uMsg, wParam, lParam);
+ autocomplete_text(This, hwnd, autoappend_flag_yes);
+ return ret;
case WM_DESTROY:
{
WNDPROC proc = This->wpOrigEditProc;
More information about the wine-cvs
mailing list