[prev in list] [next in list] [prev in thread] [next in thread]
List: wine-devel
Subject: Re: [PATCH] user32: edit control should respond to ctrl + z
From: "Lei Zhang" <thestig () google ! com>
Date: 2007-08-31 3:05:58
Message-ID: 558b2f5c0708302005t6892e065m1a57e9e40b7d5d9 () mail ! gmail ! com
[Download RAW message or body]
On 8/30/07, Dmitry Timoshkov <dmitry@codeweavers.com> wrote:
> "Lei Zhang" <thestig@google.com> wrote:
>
> > This lets users hit ctrl + z in edit dialogs. A test case is included.
> > This should fixed bug 9525.
>
> > + /* select all, cut (ctrl-x), undo (ctrl-z) */
> > + SendMessage(hwEdit, EM_SETSEL, 0, -1);
> > + SendMessage(hwEdit, WM_CHAR, 24, 0);
> > + SendMessage(hwEdit, WM_CHAR, 26, 0);
>
> I'd suggest to add checks to make sure that every message you send above
> really worked.
>
> --
> Dmitry.
>
Good idea, will do...
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic