summaryrefslogtreecommitdiff
path: root/plugins/!Deprecated/ExternalAPI/m_snappingwindows.h
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-04-24 08:21:28 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-04-24 08:21:28 +0000
commit690f5e6d29d1c85c4be72638eb22843964c2f512 (patch)
tree47c50956fef107bb1004f9389b817cbe3626d919 /plugins/!Deprecated/ExternalAPI/m_snappingwindows.h
parente7112d3e58f97fa0630e0afa04e27796cdf3ce38 (diff)
All non-working stuff moved from trunk
git-svn-id: http://svn.miranda-ng.org/main/trunk@13071 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/!Deprecated/ExternalAPI/m_snappingwindows.h')
-rw-r--r--plugins/!Deprecated/ExternalAPI/m_snappingwindows.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/plugins/!Deprecated/ExternalAPI/m_snappingwindows.h b/plugins/!Deprecated/ExternalAPI/m_snappingwindows.h
deleted file mode 100644
index fcfd679913..0000000000
--- a/plugins/!Deprecated/ExternalAPI/m_snappingwindows.h
+++ /dev/null
@@ -1,25 +0,0 @@
-#ifndef SNAPPING_WINDOWS_H
-#define SNAPPING_WINDOWS_H
-
-struct SnapWindowProc_t
-{
- HWND hWnd;
- //
- SIZE m_szMoveOffset;
- WPARAM wParam;
- LPARAM lParam;
- //
- int Reserved1;
- int Reserved2;
- int Reserved3;
-};
-
-#define CallSnappingWindowProc(hwnd,nMessage,wParam,lParam) {static struct SnapWindowProc_t SnapInfo; \
- if ((nMessage == WM_MOVING) || (nMessage == WM_NCLBUTTONDOWN) || (nMessage == WM_SYSCOMMAND) || (nMessage == WM_SIZING)){ \
- SnapInfo.hWnd = hwnd; \
- SnapInfo.wParam = wParam; \
- SnapInfo.lParam = lParam; \
- CallService("Utils/SnapWindowProc",(WPARAM)&SnapInfo,nMessage); \
- if (nMessage == WM_SIZING) return 1;}}
-
-#endif //SNAPPING_WINDOWS_H \ No newline at end of file