http://bugs.winehq.org/show_bug.cgi?id=15055
Summary: implement undocumented window message 0x0313 (WM_POPUPSYSTEMMENU) Product: Wine Version: 1.1.3 Platform: Other OS/Version: other Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: user32 AssignedTo: wine-bugs@winehq.org ReportedBy: madewokherd@gmail.com
Created an attachment (id=15711) --> (http://bugs.winehq.org/attachment.cgi?id=15711) test application (C source)
In order to display the system menu of a window that belongs to a different process, the Windows taskbar sends the undocumented message 0x313 to the window with the following parameters:
wparam = always 0 (changing it seems to make no difference) lparam = MAKELONG(x,y), where x and y are screen coordinates where the menu should be displayed
I've found that sending this message on Windows does cause a window to display its system menu.
WM_POPUPSYSTEMMENU is a popular name for it according to Google.
http://bugs.winehq.org/show_bug.cgi?id=15055
--- Comment #1 from Vincent Povirk madewokherd@gmail.com 2008-08-28 13:42:37 --- Created an attachment (id=15712) --> (http://bugs.winehq.org/attachment.cgi?id=15712) test application (executable)
This is a test program that sends 0x0313 to itself using the current cursor co-ordinates when it gets a right-click in its client area. On Windows, this pops up a system menu. On Wine, it does nothing.
http://bugs.winehq.org/show_bug.cgi?id=15055
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, testcase
http://bugs.winehq.org/show_bug.cgi?id=15055
--- Comment #2 from Austin English austinenglish@gmail.com 2008-08-28 14:54:18 --- Adding that to wine's conformance tests would be helpful.
http://bugs.winehq.org/show_bug.cgi?id=15055
--- Comment #3 from Dmitry Timoshkov dmitry@codeweavers.com 2008-09-02 01:39:23 --- It looks like another popular name of this message (0x313) is WM_SYSMENU.
http://bugs.winehq.org/show_bug.cgi?id=15055
--- Comment #4 from Austin English austinenglish@gmail.com 2008-09-24 09:41:49 --- Please retest, Vincent sent a patch in: http://source.winehq.org/git/wine.git/?a=commitdiff;h=a2742978d088c2813f2d59...
http://bugs.winehq.org/show_bug.cgi?id=15055
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #5 from Vincent Povirk madewokherd@gmail.com 2008-11-20 16:26:05 --- Should be fixed.
http://bugs.winehq.org/show_bug.cgi?id=15055
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org 2008-11-21 10:31:55 --- Closing bugs fixed in 1.1.9.