[Bug 7512] Problem with unicode comboboxes

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Nov 4 17:43:51 CST 2007


http://bugs.winehq.org/show_bug.cgi?id=7512





--- Comment #36 from jvlad <dmda at yandex.ru>  2007-11-04 17:43:50 ---
I think I found one problem that sheds some light on wine differences.

If we have a UNICODE handle and call SendMessageA on it, Windows deals with the
ANSI/UNICODE conversion automatically.  So for example, if the we send
WM_SETTEXT to a window using SendMessageA, Windows actually expects a char*
even if the target window is a UNICODE window.  So caling SendMessageA with
char* causes no problems. It's not the case with Wine which expects wchar_t*. I
checked this carefully with Wine 0.40 I found it FC7.

Probably it works in the opposite case too, if SendMessageW is called on an
ANSI handle, it will expect UNICODE string and will translate it to ANSI.
Although I have to admit I didn't check.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list