mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 09:06:22 +00:00
fix definitions of WM_MOUSEWHEEL and WM_MOUSELAST
svn path=/trunk/; revision=32071
This commit is contained in:
parent
76569bc213
commit
e8c790f781
1 changed files with 9 additions and 1 deletions
|
@ -1685,6 +1685,7 @@ extern "C" {
|
||||||
#define WM_KEYLAST 264
|
#define WM_KEYLAST 264
|
||||||
#define WM_SYNCPAINT 136
|
#define WM_SYNCPAINT 136
|
||||||
#define WM_MOUSEACTIVATE 33
|
#define WM_MOUSEACTIVATE 33
|
||||||
|
#define WM_MOUSEFIRST 512
|
||||||
#define WM_MOUSEMOVE 512
|
#define WM_MOUSEMOVE 512
|
||||||
#define WM_LBUTTONDOWN 513
|
#define WM_LBUTTONDOWN 513
|
||||||
#define WM_LBUTTONUP 514
|
#define WM_LBUTTONUP 514
|
||||||
|
@ -1695,13 +1696,20 @@ extern "C" {
|
||||||
#define WM_MBUTTONDOWN 519
|
#define WM_MBUTTONDOWN 519
|
||||||
#define WM_MBUTTONUP 520
|
#define WM_MBUTTONUP 520
|
||||||
#define WM_MBUTTONDBLCLK 521
|
#define WM_MBUTTONDBLCLK 521
|
||||||
|
#if (_WIN32_WINNT >= 0x0400) || (_WIN32_WINDOWS > 0x0400)
|
||||||
#define WM_MOUSEWHEEL 522
|
#define WM_MOUSEWHEEL 522
|
||||||
#define WM_MOUSEFIRST 512
|
#endif
|
||||||
#if (_WIN32_WINNT >= 0x0500)
|
#if (_WIN32_WINNT >= 0x0500)
|
||||||
#define WM_XBUTTONDOWN 523
|
#define WM_XBUTTONDOWN 523
|
||||||
#define WM_XBUTTONUP 524
|
#define WM_XBUTTONUP 524
|
||||||
#define WM_XBUTTONDBLCLK 525
|
#define WM_XBUTTONDBLCLK 525
|
||||||
|
#endif
|
||||||
|
#if (_WIN32_WINNT >= 0x0500)
|
||||||
#define WM_MOUSELAST 525
|
#define WM_MOUSELAST 525
|
||||||
|
#elif (_WIN32_WINNT >= 0x0400) || (_WIN32_WINDOWS > 0x0400)
|
||||||
|
#define WM_MOUSELAST 522
|
||||||
|
#else
|
||||||
|
#define WM_MOUSELAST 521
|
||||||
#endif
|
#endif
|
||||||
#define WM_MOUSEHOVER 0x2A1
|
#define WM_MOUSEHOVER 0x2A1
|
||||||
#define WM_MOUSELEAVE 0x2A3
|
#define WM_MOUSELEAVE 0x2A3
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue