Is there already a function for this?

Bill Medland billmedland at
Mon Jan 5 15:04:22 CST 2004

Does anyone know if we already have a function that measures the true length 
of a window's text in the following way

l = SendMessage (hwnd, WM_GETTEXTLENGTH,..)
presumably allocate a buffer
SendMessage (hwnd, WM_GETTEXT, 2(l+1)..)
Then actually measure the retrieved text.

Bill Medland
mailto:billmedland at

More information about the wine-devel mailing list