[PATCH] user32: edit control should respond to ctrl + z
Dmitry Timoshkov
dmitry at codeweavers.com
Thu Aug 30 21:49:36 CDT 2007
"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.
--
Dmitry.
More information about the wine-devel
mailing list