Author: janderwald
Date: Sat May 6 15:10:27 2006
New Revision: 21810
URL:
http://svn.reactos.ru/svn/reactos?rev=21810&view=rev
Log:
* ident code
* enable apply button when slider pos change
Modified:
trunk/reactos/dll/cpl/main/mouse.c
Modified: trunk/reactos/dll/cpl/main/mouse.c
URL:
http://svn.reactos.ru/svn/reactos/trunk/reactos/dll/cpl/main/mouse.c?rev=21…
==============================================================================
--- trunk/reactos/dll/cpl/main/mouse.c (original)
+++ trunk/reactos/dll/cpl/main/mouse.c Sat May 6 15:10:27 2006
@@ -311,21 +311,26 @@
}
case WM_DRAWITEM:
{
- LPDRAWITEMSTRUCT drawItem;
- drawItem = (LPDRAWITEMSTRUCT)lParam;
- if(drawItem->CtlID == IDC_IMAGE_SWAP_MOUSE)
- {
- //FIXME
- //show mouse with left/right button highlighted
- // depending on val g_SwapMouseButtons
- return TRUE;
- }
- else if (drawItem->CtlID == IDC_IMAGE_DOUBLE_CLICK_SPEED)
- {
- //FIXME
- //measure click speed && draw item
- }
- break;
+ LPDRAWITEMSTRUCT drawItem;
+ drawItem = (LPDRAWITEMSTRUCT)lParam;
+ if(drawItem->CtlID == IDC_IMAGE_SWAP_MOUSE)
+ {
+ //FIXME
+ //show mouse with left/right button highlighted
+ // depending on val g_SwapMouseButtons
+ return TRUE;
+ }
+ else if (drawItem->CtlID == IDC_IMAGE_DOUBLE_CLICK_SPEED)
+ {
+ //FIXME
+ //measure click speed && draw item
+ }
+ break;
+ }
+ case WM_HSCROLL:
+ {
+ PropSheet_Changed(GetParent(hwndDlg), hwndDlg);
+ break;
}
}
return FALSE;
@@ -1049,9 +1054,13 @@
SetWindowLong(hwndDlg, DWL_MSGRESULT, PSNRET_NOERROR);
return TRUE;
}
-
- }
-
+ break;
+ }
+ case WM_HSCROLL:
+ {
+ PropSheet_Changed(GetParent(hwndDlg), hwndDlg);
+ break;
+ }
}
return FALSE;
}