From cd16d042ee670b02ea5b4be5c0776c83a61f94a9 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 12 Jul 2018 16:31:41 +0300 Subject: fixes #1469 (Clist_modern: gap is too big) --- plugins/Clist_nicer/src/clistopts.cpp | 2 +- plugins/Clist_nicer/src/resource.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'plugins/Clist_nicer/src') diff --git a/plugins/Clist_nicer/src/clistopts.cpp b/plugins/Clist_nicer/src/clistopts.cpp index 36296161fd..c745fbcfb5 100644 --- a/plugins/Clist_nicer/src/clistopts.cpp +++ b/plugins/Clist_nicer/src/clistopts.cpp @@ -101,7 +101,7 @@ INT_PTR CALLBACK DlgProcGenOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP } if (CB_ERR == (int)SendDlgItemMessage(hwndDlg, IDC_PRIMARYSTATUS, CB_GETCURSEL, 0, 0)) SendDlgItemMessage(hwndDlg, IDC_PRIMARYSTATUS, CB_SETCURSEL, 0, 0); - SendDlgItemMessage(hwndDlg, IDC_BLINKSPIN, UDM_SETBUDDY, (WPARAM)GetDlgItem(hwndDlg, IDC_BLINKTIME), 0); + SendDlgItemMessage(hwndDlg, IDC_BLINKSPIN, UDM_SETRANGE, 0, MAKELONG(0x3FFF, 250)); SendDlgItemMessage(hwndDlg, IDC_BLINKSPIN, UDM_SETPOS, 0, MAKELONG(db_get_w(NULL, "CList", "IconFlashTime", 550), 0)); CheckDlgButton(hwndDlg, IDC_NOTRAYINFOTIPS, cfg::dat.bNoTrayTips ? 1 : 0); diff --git a/plugins/Clist_nicer/src/resource.h b/plugins/Clist_nicer/src/resource.h index 5226261d50..5e9cabe936 100644 --- a/plugins/Clist_nicer/src/resource.h +++ b/plugins/Clist_nicer/src/resource.h @@ -7,7 +7,6 @@ #define IDD_QUICKIGNORE 5 #define IDD_OPT 6 #define IDD_EXCEPTION 20 -#define IDD_OPTIONSDIALOG 101 #define IDD_OPT_CLIST 126 #define IDI_CLIST 146 #define IDI_OPTIONS 163 -- cgit v1.2.3