wineconsole: Added range of value for an up-down control.

This commit is contained in:
Anatoly Lyutin 2007-02-19 16:53:39 +03:00 committed by Alexandre Julliard
parent 4284c504ab
commit 3c981715ad
1 changed files with 2 additions and 0 deletions

View File

@ -67,6 +67,8 @@ static INT_PTR WINAPI WCUSER_OptionDlgProc(HWND hDlg, UINT msg, WPARAM wParam, L
di->hDlg = hDlg;
SetWindowLongPtr(hDlg, DWLP_USER, (LONG_PTR)di);
SendMessage(GetDlgItem(hDlg,IDC_OPT_HIST_SIZE_UD), UDM_SETRANGE, 0, MAKELPARAM (500, 0));
if (di->config.cursor_size <= 25) idc = IDC_OPT_CURSOR_SMALL;
else if (di->config.cursor_size <= 50) idc = IDC_OPT_CURSOR_MEDIUM;
else idc = IDC_OPT_CURSOR_LARGE;