- Fix up-down control spinning
authorJohannes Anderwald <johannes.anderwald@reactos.org>
Mon, 21 Sep 2009 19:31:19 +0000 (19:31 +0000)
committerJohannes Anderwald <johannes.anderwald@reactos.org>
Mon, 21 Sep 2009 19:31:19 +0000 (19:31 +0000)
See issue #3390 for more details.

svn path=/trunk/; revision=43107

reactos/dll/cpl/sysdm/hardprof.c

index cf1092e..0d48517 100644 (file)
@@ -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;