From 94220165562adebca48294e7de80e7dbc4904cfb Mon Sep 17 00:00:00 2001 From: Johannes Anderwald Date: Mon, 21 Sep 2009 19:31:19 +0000 Subject: [PATCH] - Fix up-down control spinning See issue #3390 for more details. svn path=/trunk/; revision=43107 --- reactos/dll/cpl/sysdm/hardprof.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/reactos/dll/cpl/sysdm/hardprof.c b/reactos/dll/cpl/sysdm/hardprof.c index cf1092e2066..0d48517ea43 100644 --- a/reactos/dll/cpl/sysdm/hardprof.c +++ b/reactos/dll/cpl/sysdm/hardprof.c @@ -56,6 +56,9 @@ HardProfDlgProc(HWND hwndDlg, 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;