From 753c846cdadbc9a9186297d43e2f36692d2c354f Mon Sep 17 00:00:00 2001 From: Mataes Date: Mon, 4 May 2020 17:02:29 +0300 Subject: newstory: IDD_SEARCH removed --- plugins/NewStory/src/history.cpp | 8 -------- plugins/NewStory/src/resource.h | 1 - 2 files changed, 9 deletions(-) (limited to 'plugins/NewStory/src') diff --git a/plugins/NewStory/src/history.cpp b/plugins/NewStory/src/history.cpp index f6b26a08ff..0da075e8cc 100644 --- a/plugins/NewStory/src/history.cpp +++ b/plugins/NewStory/src/history.cpp @@ -962,14 +962,6 @@ public: PostMessage(m_hwnd, UM_REBUILDLIST, 0, 0); break;*/ - // case IDC_SEARCH: - // int id = DialogBoxParam(hInst, MAKEINTRESOURCE(IDD_SEARCH), 0, SearchDlgProc, (LPARAM)GetDlgItem(m_hwnd, IDC_ITEMS)); - // SendMessage(GetDlgItem(m_hwnd, IDC_ITEMS), LB_SETCARETINDEX, id, 0); - // SendMessage(GetDlgItem(m_hwnd, IDC_ITEMS), LB_SETTOPINDEX, id, 0); - // SendMessage(GetDlgItem(m_hwnd, IDC_ITEMS), LB_SELITEMRANGE, FALSE, MAKELPARAM(0,eventCount)); - // SendMessage(GetDlgItem(m_hwnd, IDC_ITEMS), LB_SELITEMRANGE, TRUE, MAKELPARAM(id,id)); - // break; - case WM_USER + 0x600: if (wParam) m_histControl.SendMsg(NSM_SEEKTIME, wParam, 0); diff --git a/plugins/NewStory/src/resource.h b/plugins/NewStory/src/resource.h index 78845b142c..c362c6241f 100644 --- a/plugins/NewStory/src/resource.h +++ b/plugins/NewStory/src/resource.h @@ -5,7 +5,6 @@ #define IDD_HISTORY 101 #define IDD_OPT_TEMPLATES 102 #define IDD_OPT_ADVANCED 103 -#define IDD_SEARCH 105 #define IDR_CONTEXTMENU 106 #define IDR_POPUPS 113 #define IDD_CALENDARTOOL 118 -- cgit v1.2.3