http://bugs.winehq.org/show_bug.cgi?id=20381
Summary: Menus implementation is wrong - different from MS Product: Wine Version: 1.1.31 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: user32 AssignedTo: wine-bugs@winehq.org ReportedBy: martinez.pr0team@gmail.com
Created an attachment (id=24153) --> (http://bugs.winehq.org/attachment.cgi?id=24153) Test application and source.
Menus in Wine are working quite different from MS Windows. Lack of messages: MN_SIZEWINDOW, MN_SELECTITEM, MN_BUTTONUP etc.
Just check out the attached source and test application.
http://bugs.winehq.org/show_bug.cgi?id=20381
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com 2009-10-15 16:08:30 --- Hi, Peter.
Looks like most of these messages are undocumented. Where did you find them?
http://bugs.winehq.org/show_bug.cgi?id=20381
--- Comment #2 from Peter Zawadzki martinez.pr0team@gmail.com 2009-10-15 17:24:20 --- Hello, Nikolay. Thanks for interest.
You are right, you won't find them in documentation (exception is MN_GETHMENU). But they do exist and do work on all versions of MSWin I know.
These messages can be seen in use when needed some advanced things with menus. Example: http://www.codeproject.com/KB/menus/skinmenu.aspx (0x01e5 used).
The other thing is that it's also not even possible to subclass menu windows (WM_NCCREATE, WM_ERASEBKGND examples also won't work).
http://bugs.winehq.org/show_bug.cgi?id=20381
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source
http://bugs.winehq.org/show_bug.cgi?id=20381
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|major |minor
--- Comment #3 from Vitaliy Margolen vitaliy@kievinfo.com 2009-10-15 20:30:54 --- Do you have any real live app that uses this?
http://bugs.winehq.org/show_bug.cgi?id=20381
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Menus implementation is |Menu implementation doesn't |wrong - different from MS |send undocumented | |MN_SIZEWINDOW, | |MN_SELECTITEM, MN_BUTTONUP
http://bugs.winehq.org/show_bug.cgi?id=20381
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |WONTFIX
--- Comment #4 from Dmitry Timoshkov dmitry@codeweavers.com 2009-10-16 01:50:21 --- These messages are an internal implementation detail. Since they are not documented, and apparently there is no a real app that depends on them - marking as WONTFIX.
http://bugs.winehq.org/show_bug.cgi?id=20381
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Dmitry Timoshkov dmitry@codeweavers.com 2009-10-16 01:50:32 --- Closing.
http://bugs.winehq.org/show_bug.cgi?id=20381
Peter Zawadzki martinez.pr0team@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |UNCONFIRMED Resolution|WONTFIX |
--- Comment #6 from Peter Zawadzki martinez.pr0team@gmail.com 2009-10-16 01:58:12 --- http://msdn.microsoft.com/en-us/library/ms632613%28VS.85%29.aspx
http://bugs.winehq.org/show_bug.cgi?id=20381
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |WONTFIX
--- Comment #7 from Dmitry Timoshkov dmitry@codeweavers.com 2009-10-16 02:28:15 --- There is no MN_GETHMENU in your list here.
Open a separate bug for MN_GETHMENU, and specify an app that depends on it.
http://bugs.winehq.org/show_bug.cgi?id=20381
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Dmitry Timoshkov dmitry@codeweavers.com 2009-10-16 02:28:56 --- Closing.
http://bugs.winehq.org/show_bug.cgi?id=20381
--- Comment #9 from Rein Klazes wijn@online.nl 2009-10-16 06:22:00 --- I have submitted a patch to handle the documented MN_GETHMENU message, with a conformance test:
http://www.winehq.org/pipermail/wine-patches/2009-October/080084.html
http://bugs.winehq.org/show_bug.cgi?id=20381
--- Comment #10 from Rein Klazes wijn@online.nl 2009-10-16 11:42:17 --- MN_GETHMENU handling was committed:
http://www.winehq.org/pipermail/wine-cvs/2009-October/060606.html