summaryrefslogtreecommitdiff
path: root/plugins/ExternalAPI
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2012-06-28 06:29:49 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2012-06-28 06:29:49 +0000
commitb00398f339de138916202ad625af923512c72efa (patch)
treefdc6e30d63a05efcbf11b857db8cf3e71a79c6ba /plugins/ExternalAPI
parenta2a58073a331623d006d7ffc2845b437cc0d571d (diff)
WhoUseMyFiles added, FileAsMessage - few fixrs
git-svn-id: http://svn.miranda-ng.org/main/trunk@664 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ExternalAPI')
-rw-r--r--plugins/ExternalAPI/m_Snapping_windows.h42
1 files changed, 0 insertions, 42 deletions
diff --git a/plugins/ExternalAPI/m_Snapping_windows.h b/plugins/ExternalAPI/m_Snapping_windows.h
deleted file mode 100644
index 3aa505fe74..0000000000
--- a/plugins/ExternalAPI/m_Snapping_windows.h
+++ /dev/null
@@ -1,42 +0,0 @@
-#ifndef SNAPPING_WINDOWS_H
-#define SNAPPING_WINDOWS_H
-
-/*
-If you want to use SnappingWindows in you plugin you should add this code in WindowProc:
-
-BOOL CALLBACK YouWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
-{
- CallSnappingWindowProc(hwnd,msg,wParam,lParam);
- //
- switch (msg)
- {
- case:.....
- ...........
- }
- return ......
-}
-
-
-*/
-
-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)){\
- SnapInfo.hWnd = hwnd;\
- SnapInfo.wParam = wParam;\
- SnapInfo.lParam = lParam;\
- CallService("Utils/SnapWindowProc",(WPARAM)&SnapInfo,nMessage);}}
-
-#endif //SNAPPING_WINDOWS_H \ No newline at end of file