And just as a bit more info, under both WinNT and Wine, the systray gets the dual mouse down, mouse up sequence. The SYSTRAY_WndProc() function directly the posts messages to the app. So it appears to me that it is the responsibility of SYSTRAY_WndProc() to keep track of the clicks, and create the doubleclick message. Does that sound reasonable?
Something like this might help: Index: dlls/shell32/systray.c
- wc.style = CS_SAVEBITS;
- wc.style = CS_SAVEBITS|CS_DBLCLKS;
I don't know about all the windows stuff but I'm not sure that this is the right place. I already had the same problem with a normal dialog. http://www.winehq.com/hypermail/wine-devel/2002/08/0192.html
and the "solution": http://www.winehq.com/hypermail/wine-devel/2002/09/0435.html
Looks like (almost) every item has the double clicks flag set in Windows but not in wine. So maybe a more general approach is needed.
Thanks
bye Fabi