Author: janderwald
Date: Mon Sep 21 21:31:19 2009
New Revision: 43107
URL:
http://svn.reactos.org/svn/reactos?rev=43107&view=rev
Log:
- Fix up-down control spinning
See issue #3390 for more details.
Modified:
trunk/reactos/dll/cpl/sysdm/hardprof.c
Modified: trunk/reactos/dll/cpl/sysdm/hardprof.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/hardprof.c?r…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/hardprof.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/sysdm/hardprof.c [iso-8859-1] Mon Sep 21 21:31:19 2009
@@ -56,6 +56,9 @@
SendMessage(GetDlgItem(hwndDlg, IDC_HRDPROFDWN),
BM_SETIMAGE,(WPARAM)IMAGE_ICON,
(LPARAM)(HANDLE)LoadIcon(hApplet, MAKEINTRESOURCE(IDI_DOWN)));
+
+ SendDlgItemMessageW(hwndDlg, IDC_HRDPROFUPDWN, UDM_SETRANGE, (WPARAM) 0,
(LPARAM) MAKELONG((short) 500, 0));
+ //SendDlgItemMessageW(hwndDlg, IDC_HRDPROFUPDWN, UDM_SETPOS, (WPARAM) 0,
(LPARAM) MAKELONG((short) 30, 0));
}
break;