Krzysztof Foltman : riched20: Ctrl+A should be allowed in read-only controls too.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Aug 3 15:58:33 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 5f32291ace3f56884a5cb6d5affc1907bac62425
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=5f32291ace3f56884a5cb6d5affc1907bac62425

Author: Krzysztof Foltman <wdev at foltman.com>
Date:   Thu Aug  3 19:53:54 2006 +0200

riched20: Ctrl+A should be allowed in read-only controls too.

---

 dlls/riched20/editor.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/riched20/editor.c b/dlls/riched20/editor.c
index 72a6a78..99422e2 100644
--- a/dlls/riched20/editor.c
+++ b/dlls/riched20/editor.c
@@ -2302,6 +2302,9 @@ LRESULT WINAPI RichEditANSIWndProc(HWND 
         
     switch (wstr)
     {
+    case 1: /* Ctrl-A */
+      ME_SetSelection(editor, 0, -1);
+      return 0;
     case 3: /* Ctrl-C */
       SendMessageW(editor->hWnd, WM_COPY, 0, 0);
       return 0;
@@ -2314,9 +2317,6 @@ LRESULT WINAPI RichEditANSIWndProc(HWND 
 
     switch (wstr)
     {
-    case 1: /* Ctrl-A */
-      ME_SetSelection(editor, 0, -1);
-      return 0;
     case 22: /* Ctrl-V */
       SendMessageW(editor->hWnd, WM_PASTE, 0, 0);
       return 0;




More information about the wine-cvs mailing list