summaryrefslogtreecommitdiff
path: root/plugins/NewStory/src/history.cpp
diff options
context:
space:
mode:
authorMataes <mataes2007@gmail.com>2018-12-09 14:06:21 +0300
committerMataes <mataes2007@gmail.com>2018-12-09 14:06:21 +0300
commit9bbf4659a403f494818a9af943426cd545f6692a (patch)
tree7b42b56b795d79b980d0588219dd94066195d844 /plugins/NewStory/src/history.cpp
parente4842e25638080a6010728afbbb9c9ac87eadeb8 (diff)
NewStory: controls cleanup
Diffstat (limited to 'plugins/NewStory/src/history.cpp')
-rw-r--r--plugins/NewStory/src/history.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/plugins/NewStory/src/history.cpp b/plugins/NewStory/src/history.cpp
index e27f9a9603..2f5bd9009a 100644
--- a/plugins/NewStory/src/history.cpp
+++ b/plugins/NewStory/src/history.cpp
@@ -515,21 +515,21 @@ INT_PTR CALLBACK HistoryDlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lPara
data->hMenu = LoadMenu(g_plugin.getInst(), MAKEINTRESOURCE(IDR_POPUPS));
//CallService(MS_LANGPACK_TRANSLATEMENU, (WPARAM)data->hMenu, 0);
- CheckMenuItem(GetSubMenu(data->hMenu, 1), IDD_FILTER_INCOMING,
+ CheckMenuItem(GetSubMenu(data->hMenu, 1), ID_FILTER_INCOMING,
data->showFlags&HIST_SHOW_IN ? MF_CHECKED : MF_UNCHECKED);
- CheckMenuItem(GetSubMenu(data->hMenu, 1), IDD_FILTER_OUTGOING,
+ CheckMenuItem(GetSubMenu(data->hMenu, 1), ID_FILTER_OUTGOING,
data->showFlags&HIST_SHOW_OUT ? MF_CHECKED : MF_UNCHECKED);
- CheckMenuItem(GetSubMenu(data->hMenu, 1), IDD_FILTER_MESSAGES,
+ CheckMenuItem(GetSubMenu(data->hMenu, 1), ID_FILTER_MESSAGES,
data->showFlags&HIST_SHOW_MSGS ? MF_CHECKED : MF_UNCHECKED);
- CheckMenuItem(GetSubMenu(data->hMenu, 1), IDD_FILTER_FILES,
+ CheckMenuItem(GetSubMenu(data->hMenu, 1), ID_FILTER_FILES,
data->showFlags&HIST_SHOW_FILES ? MF_CHECKED : MF_UNCHECKED);
- CheckMenuItem(GetSubMenu(data->hMenu, 1), IDD_FILTER_URLS,
+ CheckMenuItem(GetSubMenu(data->hMenu, 1), ID_FILTER_URLS,
data->showFlags&HIST_SHOW_URLS ? MF_CHECKED : MF_UNCHECKED);
- CheckMenuItem(GetSubMenu(data->hMenu, 1), IDD_FILTER_STATUS,
+ CheckMenuItem(GetSubMenu(data->hMenu, 1), ID_FILTER_STATUS,
data->showFlags&HIST_SHOW_STATUS ? MF_CHECKED : MF_UNCHECKED);
- CheckMenuItem(GetSubMenu(data->hMenu, 1), IDD_FILTER_OTHER,
+ CheckMenuItem(GetSubMenu(data->hMenu, 1), ID_FILTER_OTHER,
data->showFlags&HIST_SHOW_OTHER ? MF_CHECKED : MF_UNCHECKED);
- CheckMenuItem(GetSubMenu(data->hMenu, 1), IDD_FILTER_AUTO,
+ CheckMenuItem(GetSubMenu(data->hMenu, 1), ID_FILTER_AUTO,
data->showFlags&HIST_AUTO_FILTER ? MF_CHECKED : MF_UNCHECKED);
// CheckMenuItem(GetSubMenu(data->hMenu, 1), ID_LOGOPTIONS_SHOWTIMETREE,
@@ -610,13 +610,13 @@ INT_PTR CALLBACK HistoryDlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lPara
return TRUE;
}
- case WM_MOUSEWHEEL:
+ /*case WM_MOUSEWHEEL:
SendMessage(GetDlgItem(hwnd, IDC_CUSTOM1), msg, wParam, lParam);
- return TRUE;
+ return TRUE;*/
- case WM_SETFOCUS:
+ /*case WM_SETFOCUS:
SetFocus(GetDlgItem(hwnd, IDC_CUSTOM1));
- return TRUE;
+ return TRUE;*/
case UM_UPDATEICONS:
{