headers: some nonclient defines

Kevin Koltzau kevin at plop.org
Mon Nov 24 20:31:50 CST 2003


Part of a variant patch that wasnt applied, rest to come

Add TME_NONCLIENT, WM_NCMOUSEHOVER and WM_NCMOUSELEAVE to both commctrl.h and 
winuser.h (as it seems to be needed in both for some reason) which will be 
needed to implement non-implemented parts of TrackMouseEvent

Index: include/commctrl.h
===================================================================
RCS file: /home/wine/wine/include/commctrl.h,v
retrieving revision 1.123
diff -u -r1.123 commctrl.h
--- include/commctrl.h	11 Nov 2003 00:29:31 -0000	1.123
+++ include/commctrl.h	25 Nov 2003 02:14:03 -0000
@@ -601,7 +601,9 @@


 #ifndef WM_MOUSEHOVER
+#define WM_NCMOUSEHOVER                 0x02A0
 #define WM_MOUSEHOVER                   0x02A1
+#define WM_NCMOUSELEAVE                 0x02A2
 #define WM_MOUSELEAVE                   0x02A3
 #endif

@@ -609,6 +611,7 @@

 #define TME_HOVER       0x00000001
 #define TME_LEAVE       0x00000002
+#define TME_NONCLIENT   0x00000010
 #define TME_QUERY       0x40000000
 #define TME_CANCEL      0x80000000

Index: include/winuser.h
===================================================================
RCS file: /home/wine/wine/include/winuser.h,v
retrieving revision 1.172
diff -u -r1.172 winuser.h
--- include/winuser.h	14 Nov 2003 03:32:43 -0000	1.172
+++ include/winuser.h	25 Nov 2003 02:14:04 -0000
@@ -3390,11 +3390,14 @@
 #define MK_XBUTTON2         0x0040


+#define WM_NCMOUSEHOVER     0x02A0
 #define WM_MOUSEHOVER       0x02A1
+#define WM_NCMOUSELEAVE     0x02A2
 #define WM_MOUSELEAVE       0x02A3

 #define TME_HOVER       0x00000001
 #define TME_LEAVE       0x00000002
+#define TME_NONCLIENT   0x00000010
 #define TME_QUERY       0x40000000
 #define TME_CANCEL      0x80000000





More information about the wine-patches mailing list