Anatoly Lyutin : wineconsole: Added range of value for an up-down
control.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Feb 20 05:25:16 CST 2007
Module: wine
Branch: master
Commit: 3c981715ad2b1cecadce961945e97f305b37d05a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=3c981715ad2b1cecadce961945e97f305b37d05a
Author: Anatoly Lyutin <vostok at etersoft.ru>
Date: Mon Feb 19 16:53:39 2007 +0300
wineconsole: Added range of value for an up-down control.
---
programs/wineconsole/dialog.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/programs/wineconsole/dialog.c b/programs/wineconsole/dialog.c
index cc43684..0ec3bac 100644
--- a/programs/wineconsole/dialog.c
+++ b/programs/wineconsole/dialog.c
@@ -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;
More information about the wine-cvs
mailing list