17 Mar
2006
17 Mar
'06
7:20 a.m.
On Thu, 16 Mar 2006 22:31:40 -0800 (PST) Brian Chang <brianch(a)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.