From f7bfbfc5a65c80050eb148fb4102b5bb3af53b85 Mon Sep 17 00:00:00 2001 From: Johannes Anderwald Date: Sat, 6 May 2006 11:26:27 +0000 Subject: [PATCH] * enable advanced mouse options in apply thnx Christoph_Vw svn path=/trunk/; revision=21811 --- reactos/dll/cpl/main/mouse.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/reactos/dll/cpl/main/mouse.c b/reactos/dll/cpl/main/mouse.c index 0d3c37e0a9a..4f87e0ff22b 100644 --- a/reactos/dll/cpl/main/mouse.c +++ b/reactos/dll/cpl/main/mouse.c @@ -34,6 +34,8 @@ // add missing icons // Options- pointer precision +#define WINVER 0x0501 + #include #include #include @@ -132,7 +134,6 @@ BOOL InitializeMouse() /* wheel scroll lines */ SystemParametersInfo(SPI_GETWHEELSCROLLLINES, 0, &g_WheelScrollLines, 0); -#if (WINVER >= 0x0500) //FIXME //pointer precision // SPI_GETMOUSE? @@ -153,8 +154,6 @@ BOOL InitializeMouse() /* show pointer with Ctrl-Key */ SystemParametersInfo(SPI_GETMOUSESONAR, 0, &g_ShowPointer, 0); -#endif - return TRUE; } @@ -677,7 +676,6 @@ PointerProc(IN HWND hwndDlg, { EnumerateCursorSchemes(hwndDlg); RefreshCursorList(hwndDlg); -#if (WINVER >= 0x0500) /* drop shadow */ SystemParametersInfo(SPI_GETDROPSHADOW, 0, &g_DropShadow, 0); if (g_DropShadow) @@ -685,7 +683,6 @@ PointerProc(IN HWND hwndDlg, hDlgCtrl = GetDlgItem(hwndDlg, IDC_CHECK_DROP_SHADOW); SendMessage(hDlgCtrl, BM_SETCHECK, (WPARAM)BST_CHECKED, (LPARAM)0); } -#endif if ((INT)wParam == IDC_LISTVIEW_CURSOR) return TRUE; else @@ -1033,7 +1030,6 @@ OptionProc(IN HWND hwndDlg, SystemParametersInfo(SPI_SETMOUSETRAILS, lResult, 0, SPIF_SENDCHANGE); -#if (WINVER >= 0x0500) //FIXME //pointer precision //SPI_SETMOUSE? @@ -1049,8 +1045,6 @@ OptionProc(IN HWND hwndDlg, /* show pointer with Ctrl-Key */ SystemParametersInfo(SPI_SETMOUSESONAR, 0, (PVOID)g_ShowPointer, SPIF_SENDCHANGE); -#endif - SetWindowLong(hwndDlg, DWL_MSGRESULT, PSNRET_NOERROR); return TRUE; }