Doubleclick in systray (was Pegasus Mail 4.02)

Alexandre Julliard julliard at winehq.com
Mon Nov 25 12:26:12 CST 2002


Fabian Cenedese <Cenedese at indel.ch> writes:

> 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.

Not really, we just need to make sure we have CS_DBLCLKS everywhere we
need it. Does this fix your problem?

Index: windows/dialog.c
===================================================================
RCS file: /opt/cvs-commit/wine/windows/dialog.c,v
retrieving revision 1.110
diff -u -r1.110 dialog.c
--- windows/dialog.c	22 Nov 2002 21:22:15 -0000	1.110
+++ windows/dialog.c	25 Nov 2002 18:24:08 -0000
@@ -102,7 +102,7 @@
 const struct builtin_class_descr DIALOG_builtin_class =
 {
     DIALOG_CLASS_ATOM,  /* name */
-    CS_GLOBALCLASS | CS_SAVEBITS, /* style  */
+    CS_GLOBALCLASS | CS_SAVEBITS | CS_DBLCLKS, /* style  */
     DefDlgProcA,        /* procA */
     DefDlgProcW,        /* procW */
     DLGWINDOWEXTRA,     /* extra */

-- 
Alexandre Julliard
julliard at winehq.com



More information about the wine-devel mailing list