[PATCH] user32: edit control should respond to ctrl + z
thestig at google.com
Thu Aug 30 22:05:58 CDT 2007
On 8/30/07, Dmitry Timoshkov <dmitry at codeweavers.com> wrote:
> "Lei Zhang" <thestig at 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.
Good idea, will do...
More information about the wine-devel