riched20: add EM_EXSETSEL conformance tests and fixes bug 4462

Phil Krylov phil at newstar.rinet.ru
Fri Mar 17 01:20:50 CST 2006


On Thu, 16 Mar 2006 22:31:40 -0800 (PST)
Brian Chang <brianch at seas.ucla.edu> wrote:

> +    /* get the current selection and text length */
> +    RichEditANSIWndProc(hWnd, EM_GETSEL, (WPARAM) &start, (LPARAM) &end);
> +    textlen = RichEditANSIWndProc(hWnd, WM_GETTEXTLENGTH, 0, 0);

This looks strange... Why not use ME_GetSelection() and ME_GetTextLength()?

-- Ph.



More information about the wine-devel mailing list