Ulrich Czekalla wrote:
ChangeLog:
Ulrich Czekalla <[EMAIL PROTECTED]>
Allow copying selection when control is read only
------------------------------------------------------------------------
Index: dlls/user/edit.c
===================================================================
RCS file: /home/wine/wine/dlls/user/edit.c,v
retrieving revision 1.1
diff -u -r1.1 edit.c
--- dlls/user/edit.c 31 Aug 2004 01:10:08 -0000 1.1
+++ dlls/user/edit.c 9 Sep 2004 13:01:26 -0000
@@ -3604,7 +3604,8 @@
/* Protect read-only edit control from modification */
if(es->style & ES_READONLY)
- return;
+ if (c != 0x03) /* Allow copying selection */
+ return;
control = GetKeyState(VK_CONTROL) & 0x8000;
That read-only check looks completely bogus to me as the code below
already checks for ES_READONLY.
Rob