diff options
author | Mataes <mataes2007@gmail.com> | 2020-05-04 17:47:40 +0300 |
---|---|---|
committer | Mataes <mataes2007@gmail.com> | 2020-05-04 17:47:40 +0300 |
commit | d10f359eb20f0a1c2744bd1d0562ce744e7bbc9a (patch) | |
tree | f97ed18950d8ce7a016c36ab814199c4b4081b6c /plugins/NewStory/src | |
parent | 82aa9dbec84f664174e760fbe3e4f97932bb8ee6 (diff) |
newstory: removed not used resources
Diffstat (limited to 'plugins/NewStory/src')
-rw-r--r-- | plugins/NewStory/src/calendartool.cpp | 2 | ||||
-rw-r--r-- | plugins/NewStory/src/history.cpp | 4 | ||||
-rw-r--r-- | plugins/NewStory/src/resource.h | 30 |
3 files changed, 5 insertions, 31 deletions
diff --git a/plugins/NewStory/src/calendartool.cpp b/plugins/NewStory/src/calendartool.cpp index ec3a4cabce..79461ebbbe 100644 --- a/plugins/NewStory/src/calendartool.cpp +++ b/plugins/NewStory/src/calendartool.cpp @@ -17,7 +17,7 @@ INT_PTR CALLBACK CalendarToolDlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM case WM_NOTIFY: { LPNMHDR hdr = (LPNMHDR)lParam; - if ((hdr->idFrom == IDC_MONTHCALENDAR1) && (hdr->code == MCN_SELECT)) { + if ((hdr->idFrom == IDC_MONTHCALENDAR) && (hdr->code == MCN_SELECT)) { LPNMSELCHANGE lpnmsc = (LPNMSELCHANGE)lParam; struct tm tm_sel; tm_sel.tm_hour = tm_sel.tm_min = tm_sel.tm_sec = 0; diff --git a/plugins/NewStory/src/history.cpp b/plugins/NewStory/src/history.cpp index e1aefa08eb..3d7046c0a7 100644 --- a/plugins/NewStory/src/history.cpp +++ b/plugins/NewStory/src/history.cpp @@ -403,7 +403,7 @@ public: CDlgBase(g_plugin, IDD_HISTORY), m_hContact(_hContact), m_timeTree(this, IDC_TIMETREEVIEW), - m_histControl(this, IDC_ITEMS2), + m_histControl(this, IDC_HISTORYCONTROL), edtSearchText(this, IDC_SEARCHTEXT), btnCopy(this, IDC_COPY, g_plugin.getIcon(ICO_COPY), LPGEN("Copy")), btnExport(this, IDC_EXPORT, g_plugin.getIcon(ICO_EXPORT), LPGEN("Export...")), @@ -1031,7 +1031,7 @@ public: // case UM_REBUILDLIST: // if (showFlags & HIST_TIMETREE) // ShowWindow(GetDlgItem(m_hwnd, IDC_TIMETREE), SW_SHOW); - // ShowWindow(GetDlgItem(m_hwnd, IDC_ITEMS2), SW_SHOW); + // ShowWindow(GetDlgItem(m_hwnd, IDC_HISTORYCONTROL), SW_SHOW); // ShowWindow(GetDlgItem(m_hwnd, IDC_SEARCHICON), SW_SHOW); }; diff --git a/plugins/NewStory/src/resource.h b/plugins/NewStory/src/resource.h index c362c6241f..e6ba3c3c4c 100644 --- a/plugins/NewStory/src/resource.h +++ b/plugins/NewStory/src/resource.h @@ -8,7 +8,6 @@ #define IDR_CONTEXTMENU 106 #define IDR_POPUPS 113 #define IDD_CALENDARTOOL 118 -#define IDD_FILTERMODE 123 #define ICO_NEWSTORY 127 #define ICO_USERINFO 128 #define ICO_USERMENU 129 @@ -33,9 +32,7 @@ #define ICO_VARHELP 151 #define ICO_TIMETREE 152 #define IDC_GPREVIEW 1000 -#define IDC_ITEMS2 1001 -#define IDC_PROGRESS 1002 -#define IDC_EDIT1 1003 +#define IDC_HISTORYCONTROL 1001 #define IDC_SEARCHTEXT 1004 #define IDC_RESET 1005 #define IDC_MESSAGE 1010 @@ -49,9 +46,6 @@ #define IDC_LOGOPTIONS 1018 #define IDC_FINDPREV 1019 #define IDC_SEARCHICON 1020 -#define IDC_TEXT 1021 -#define IDC_USERNICK 1022 -#define IDC_MSGICON 1023 #define IDC_DATEPOPUP 1024 #define IDC_ICO_MESSAGES_IN 1025 #define IDC_ICO_MESSAGES_OUT 1026 @@ -64,26 +58,12 @@ #define IDC_PREVIEW 1033 #define IDC_DELETE 1034 #define IDC_TIMETREEVIEW 1035 -#define IDC_PROGRESS1 1037 -#define IDC_COMBO1 1038 #define IDC_TIMETREE 1039 -#define IDC_CHECK2 1040 -#define IDC_CHECK3 1041 -#define IDC_MONTHCALENDAR1 1044 +#define IDC_MONTHCALENDAR 1044 #define IDC_TEMPLATES 1057 #define IDC_VARHELP 1058 #define IDC_DISCARD 1060 #define IDC_UPDATEPREVIEW 1061 -#define IDC_CHK_FILE 1062 -#define IDC_CHK_URL 1063 -#define IDC_CHK_STATUS 1064 -#define IDC_CHK_OTHER 1065 -#define IDC_CHK_AUTOFILTER 1066 -#define IDC_DATETIMEPICKER1 1067 -#define IDC_DATETIMEPICKER2 1068 -#define IDC_CHK_IN 1069 -#define IDC_CHK_OUT 1070 -#define IDC_CHK_MESSAGES 1071 #define IDC_EDITTEMPLATE 1072 #define IDC_ICO_MESSAGES 1078 #define IDC_ICO_FILES 1079 @@ -106,7 +86,6 @@ #define IDC_DATE_TO 1104 #define IDC_CHK_DATE_FROM 1105 #define IDC_CHK_DATE_TO 1106 -#define IDC_CHECK1 1107 #define IDC_GROUPING 1107 #define ID_FILTER_INCOMING 40003 #define ID_FILTER_OUTGOING 40004 @@ -116,17 +95,12 @@ #define ID_FILTER_STATUS 40010 #define ID_FILTER_OTHER 40011 #define ID_CONTEXT_COPY 40012 -#define IDA_COPY 40020 -#define IDA_SEARCH 40021 #define ID_FILTER_AUTO 40022 #define ID_LOGOPTIONS_TEMPLATES 40023 #define ID_LOGOPTIONS_OPTIONS 40024 #define ID_CONTEXT_EDIT 40025 #define ID_CONTEXT_DELETE 40026 #define ID_CONTEXT_SELECTALL 40027 -#define ID_CONTEXT_CANCEL 40028 -#define ID_EXPORT_SAVEAS 40029 -#define ID_EXPORT_SAVESELECTEDAS 40031 #define ID_FILTER_SHOWALLEVENTS 40036 #define ID_FILTER_SHOWINCOMINGEVENTSONLY 40037 #define ID_FILTER_SHOWOUTGOINGEVENTSONLY 40038 |