* include/winuser.h ((SPI_SETWHEELSCROLLLINES) Add define.

* include/zmouse.h (WHEEL_DELTA): Guard against prior
	definition.
	(WHEEL_PAGESCROLL): Likewise.
	(SPI_SETWHEELSCROLLLINES): Define, if not already done.
This commit is contained in:
Danny Smith 2003-01-06 00:18:45 +00:00
parent cbdbe9d766
commit 066a41acdf
2 changed files with 12 additions and 2 deletions

View File

@ -1125,6 +1125,7 @@ extern "C" {
#define SPI_SETSOUNDSENTRY 65
#define SPI_SETSTICKYKEYS 59
#define SPI_SETTOGGLEKEYS 53
#define SPI_SETWHEELSCROLLLINES 105
#define SPI_SETWORKAREA 47
#define SPIF_UPDATEINIFILE 1
#define SPIF_SENDWININICHANGE 2

View File

@ -21,7 +21,16 @@
# define WM_MOUSEWHEEL (WM_MOUSELAST + 1)
#endif
#define WHEEL_DELTA 120
#define WHEEL_PAGESCROLL UINT_MAX
#ifndef WHEEL_DELTA
# define WHEEL_DELTA 120
#endif
#ifndef WHEEL_PAGESCROLL
# define WHEEL_PAGESCROLL UINT_MAX
#endif
#ifndef SPI_SETWHEELSCROLLLINES
# define SPI_SETWHEELSCROLLLINES 105
#endif
#endif /* _ZMOUSE_H */