added constants for WM_XBUTTON* messages
authorThomas Bluemel <thomas@reactsoft.com>
Sat, 27 Sep 2003 00:22:10 +0000 (00:22 +0000)
committerThomas Bluemel <thomas@reactsoft.com>
Sat, 27 Sep 2003 00:22:10 +0000 (00:22 +0000)
svn path=/trunk/; revision=6154

reactos/include/defines.h
reactos/include/messages.h

index 1e77428..339b710 100644 (file)
@@ -602,6 +602,10 @@ extern "C" {
 #define TAPE_SETMARKS  (0L)
 #define TAPE_SHORT_FILEMARKS   (0x2L)
 
+/* Mouse Wheel */
+#define WHEEL_DELTA (120)
+#define GET_WHEEL_DELTA_WPARAM(wParam)  ((short)HIWORD(wParam))
+
 /* CreateWindow */
 #define CW_USEDEFAULT  (0x80000000L)
 #define WS_BORDER      (0x800000L)
@@ -4336,6 +4340,8 @@ extern "C" {
 #define MK_MBUTTON     (16)
 #define MK_RBUTTON     (2)
 #define MK_SHIFT       (4)
+#define MK_XBUTTON1 (0x0020)
+#define MK_XBUTTON2 (0x0040)
 
 /* WNDCLASS structure */
 #define CS_BYTEALIGNCLIENT     (4096)
index 84d665f..6547db9 100644 (file)
@@ -1114,6 +1114,9 @@ extern "C" {
 #define WM_WINDOWPOSCHANGED    (71)
 #define WM_WINDOWPOSCHANGING   (70)
 #define WM_WININICHANGE        (26)
+#define WM_XBUTTONDOWN  (523)
+#define WM_XBUTTONUP    (524)
+#define WM_XBUTTONDBLCLK    (525)
 
 /* Window message ranges */
 #define WM_KEYFIRST    (256)