EM_UNDO message handling for single line edit controls

Dmitry Timoshkov dmitry at baikal.ru
Wed Apr 21 02:31:52 CDT 2004


"Santosh Siddheshwar" <santosh.s at sonata-software.com> wrote:

>   I think there is a defect in the handling of EM_UNDO message for single
> line edit controls. If you go by what MSDN says this
> message should always return TRUE. But in EDIT_EM_Undo method
> (controls/edit.c) we are checking whether the style of
> the edit control is Read Only and returning FALSE if it is Read Only. My
> question is why should a read only edit control 
> not be allowed to handle WM_PASTE, EM_UNDO and similar messages?

As with almost every suspicious change in Wine these days
it's better to write a test app (and possibly integrate it
into Wine test suite) and see what Windows does in that case.

-- 
Dmitry.




More information about the wine-devel mailing list