patch from Yaroslav Ponomarenko yarryp at gmail dot com

Implement so spi_ msg works now with swamp mouse buttun, but it seam our msg quare does not support it yet or must 
we send a msg from spi msg we change the mouse buttun to notify the program. either way it is now partly supported 
by his patch

svn path=/trunk/; revision=27484
This commit is contained in:
Magnus Olsen 2007-07-08 15:58:47 +00:00
parent 3f14a21b6f
commit 15355ab9a9

View file

@ -967,6 +967,7 @@ IntSystemParametersInfo(
case SPI_SETMOUSEHOVERHEIGHT:
case SPI_SETMOUSE:
case SPI_SETMOUSESPEED:
case SPI_SETMOUSEBUTTONSWAP:
/* We will change something, so set the flag here */
bChanged = TRUE;
case SPI_GETDESKWALLPAPER:
@ -1081,6 +1082,10 @@ IntSystemParametersInfo(
CurInfo = IntGetSysCursorInfo(WinStaObject);
CurInfo->MouseHoverHeight = uiParam;
break;
case SPI_SETMOUSEBUTTONSWAP:
CurInfo = IntGetSysCursorInfo(WinStaObject);
CurInfo->SwapButtons = uiParam;
break;
case SPI_SETMOUSE:
CurInfo = IntGetSysCursorInfo(WinStaObject);
CurInfo->CursorAccelerationInfo = *(PCURSORACCELERATION_INFO)pvParam;