http://bugs.winehq.org/show_bug.cgi?id=13404
Summary: Reparented windows not getting WM_MOUSEDOWN Product: Wine Version: 1.0-rc2 Platform: Other OS/Version: other Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: user32 AssignedTo: wine-bugs@winehq.org ReportedBy: joshudson@gmail.com
Created an attachment (id=13312) --> (http://bugs.winehq.org/attachment.cgi?id=13312) Demo source code and compiled executable
My best guess is the bug is in user32, but I'm not quite sure.
It seems that with reparented windows, child windows within them are getting WM_MOUSEUP but not WM_MOUSEDOWN.
Here is a demo app. Yes it is in VB .NET, but it outright calls the SetParent API call so the fact that it is .NET shouldn't matter.
Behavior on WinXP:
Press down on the button, display changes to MouseDown Release the button, display changes to MouseUp and a message box comes up.
Bheavior on Wine 1.0rc2:
Press down on the button, nothing happens. Release the button, display changes to MouseUp.
Wine version to emulate is set to 2000 as that is the only one for which .NET works.