added constants for WM_XBUTTON* messages

svn path=/trunk/; revision=6154
This commit is contained in:
Thomas Bluemel 2003-09-27 00:22:10 +00:00
parent 2deb611ef7
commit aa8f2f585a
2 changed files with 9 additions and 0 deletions

View 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)

View 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)