http://bugs.winehq.org/show_bug.cgi?id=9504
--- Comment #9 from Lei Zhang thestig@google.com 2007-11-01 17:08:16 --- I looked at the problem with TestApp1.exe. When the dropdown button is clicked, a dialog box (class 32770) is created. This dialog box is the container for the monthcal control. The parent window for the dialog box is disabled.
On Windows, when you click outside of the monthcal / dialog box, the dialog box somehow knows to destroy itself, along with the monthcal, then the parent window is re-enabled and focus returns to it.
On Wine, currently the dialog box does not get destroyed. Meanwhile, the parent window is disabled, so it cannot receive focus. So the user cannot interact with the parent window until the dialog box goes away, which only happens if the user selects something in the monthcal.
I don't know what makes the dialog box tick, but my guess is that it is expecting a message when the mouse is clicked outside of it, and we're not sending that message.