MDI windows, MDIClient and mdiclient
Shachar Shemesh
wine-devel at shemesh.biz
Mon Oct 20 03:42:13 CDT 2003
Dmitry Timoshkov wrote:
>"Shachar Shemesh" <wine-devel at shemesh.biz> wrote:
>
>
>
>>I am trying to make an application work under wine. The app is probably
>>an MFC app, that defenitely uses MDI. The problem boils down to this -
>>it tries to create an MDI window by doing SendMessageA to a message of
>>type "WM_MDICREATE". Here's the catch - the class it wants to use is in
>>Unicode. This fails for obvious reasons.
>>
>>
>
>And what are that obvious reasons? AFAICS we do proper ansi/unicode
>conversions for WM_MDICREATE message in windows/winproc.c.
>
>
>
When you send things via the "SendMessageA", I would assume they need to
be ANSI. As such, the "obvious reasons" are that it appears, to my
understanding of things, that this SHOULD fail.
I'm trying to write a regression test, to see whether it doesn't fail on
Windows. If anyone has any idea how to create traces on Windows that are
similar to --debugmsg +relay, please let me know (I remeber that someone
said something about it in the past).
Shachar
--
Shachar Shemesh
Open Source integration consultant
Home page & resume - http://www.shemesh.biz/
More information about the wine-devel
mailing list