diff options
author | George Hazan <ghazan@miranda.im> | 2023-03-29 20:06:28 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2023-03-29 20:07:00 +0300 |
commit | 7c437a1c960f301af9596e06e505c24b02ae266d (patch) | |
tree | fe9e0bdd9f827481031d9a83994b34e3692e0ea3 /src/core | |
parent | 611b21b24b46099f5a960e787d339222fa9eeb49 (diff) |
code cleaning
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/stdmsg/src/msgdialog.cpp | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/core/stdmsg/src/msgdialog.cpp b/src/core/stdmsg/src/msgdialog.cpp index e7ee4cb6e9..c4496270ae 100644 --- a/src/core/stdmsg/src/msgdialog.cpp +++ b/src/core/stdmsg/src/msgdialog.cpp @@ -658,33 +658,8 @@ INT_PTR CMsgDialog::DlgProc(UINT uMsg, WPARAM wParam, LPARAM lParam) break;
case WM_NOTIFY:
- HCURSOR hCur;
switch (((LPNMHDR)lParam)->idFrom) {
case IDC_SRMM_LOG:
- switch (((LPNMHDR)lParam)->code) {
- case EN_MSGFILTER:
- switch (((MSGFILTER *)lParam)->msg) {
- case WM_LBUTTONDOWN:
- hCur = GetCursor();
- if (hCur == LoadCursor(nullptr, IDC_SIZENS) || hCur == LoadCursor(nullptr, IDC_SIZEWE) || hCur == LoadCursor(nullptr, IDC_SIZENESW) || hCur == LoadCursor(nullptr, IDC_SIZENWSE)) {
- SetWindowLongPtr(m_hwnd, DWLP_MSGRESULT, TRUE);
- return TRUE;
- }
- break;
-
- case WM_MOUSEMOVE:
- hCur = GetCursor();
- if (hCur == LoadCursor(nullptr, IDC_SIZENS) || hCur == LoadCursor(nullptr, IDC_SIZEWE) || hCur == LoadCursor(nullptr, IDC_SIZENESW) || hCur == LoadCursor(nullptr, IDC_SIZENWSE))
- SetCursor(LoadCursor(nullptr, IDC_ARROW));
- break;
-
- case WM_RBUTTONUP:
- SetWindowLongPtr(m_hwnd, DWLP_MSGRESULT, TRUE);
- return TRUE;
- }
- }
- break;
-
case IDC_SRMM_MESSAGE:
if (((LPNMHDR)lParam)->code == EN_MSGFILTER && ((MSGFILTER *)lParam)->msg == WM_RBUTTONUP) {
SetWindowLongPtr(m_hwnd, DWLP_MSGRESULT, TRUE);
|