[ros-kernel] Re: Status of Explorer under ReactOS - Bug #42 (I
know the fix)
Jonathan Wilson
jonwil at tpgi.com.au
Sat Nov 8 10:42:25 CET 2003
ok, looks to me like the problem is in SendMessage[AW]
What should happen in SendMessageA is this:
if (IsWindowUnicode(hwnd)) {
convert message to unicode
NtUserSendMessage
convert reply to ansi
} else {
NtUserSendMessage
}
and in SendMessageW is this:
if (!IsWindowUnicode(hwnd) {
convert message to ansi
NtUserSendMessage
convert reply to unicode
} else {
NtUserSendMessage
}
Basicly, if the window procedure is Unicode, it should be sent unicode
messages no matter what is passed in and vice versa.
Looks like somehow, when all the work I did for unicode messages was done,
SendMessage wasnt fixed.
If I have the time (and if no-one else fixes it before me), I may fix this...
More information about the Ros-kernel
mailing list