EM_UNDO message does not return status as per MSDN spec

Krishna Murthy Krishna.Murthy at guptaworldwide.com
Thu May 6 12:10:09 CDT 2004


My earlier mail had the diff without -u option. Please find attached file
with diff -u option.

Thanks,
Krishna 

-----Original Message-----
From: Krishna Murthy 
Sent: Tuesday, May 04, 2004 6:37 PM
To: 'wine-patches at winehq.org'
Subject: EM_UNDO message does not return status as per MSDN spec

- Short Description:
Edit Undo (EM_UNDO)operation does not behave same as MS Windows. 

- Long Description:
The EM_UNDO message does not return TRUE always for single line edit
controls as per the MSDN specification i.e., the EDIT_EM_Undo() method in
file "wine/controls/edit.c" is not implemented correctly as per the MSDN
spec for EM_UNDO.

As per MSDN spec: For a single-line edit control, the return value should be
always TRUE. For a multi-line edit control (with style ES_MULTILINE), the
return value is TRUE if the undo operation is successful, or FALSE if the
undo operation fails(Readonly control or undo buffer is empty).

Due to the above issue, the applications generated from product Team
Developer of Gupta Technologies LLC behave differently on MS windows and
Wine.

There also exists a bug 2199

- Patch:
<<EDIT_EM_Undo.patch.diff>>

- Change log Entry:
EDIT_EM_Undo returns TRUE if the control is single-line edit control. If
multi-line control, returns FALSE if read-only control or if undo buffer is
empty.

Krishna Murthy
Gupta Technologies LLC       
TEL: (650) 596-4828
E-mail: Krishna.Murthy at guptaworldwide.com
<mailto:Krishna.Murthy at guptaworldwide.com>  
 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: EDIT_EM_Undo.patch.diff
Type: application/octet-stream
Size: 1167 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20040506/b17cad99/EDIT_EM_Undo.patch.obj


More information about the wine-patches mailing list